First cleanup of multiline patch - add support for commands longer than one line and do minor cleanups, including removal of a few unused functions

darcs-hash:20061001205423-ac50b-2819a086fecb1bcd0ab1bc63bae76956f0181f54.gz
This commit is contained in:
axel
2006-10-02 06:54:23 +10:00
parent 8b2059c628
commit add1fa9208
5 changed files with 80 additions and 131 deletions

View File

@@ -102,23 +102,11 @@ void writestr_ellipsis( const wchar_t *str, int max_width );
*/
int write_escaped_str( const wchar_t *str, int max_len );
/**
parm_ich seems to often be undefined, so we use this
workalike. Writes the specified number of spaces.
*/
int writespace( int c );
/**
Return the internal color code representing the specified color
*/
int output_color_code( const wchar_t *val );
/**
perm_left_cursor and parm_right_cursor don't seem to be defined
very often so we use cursor_left and cursor_right as a fallback.
*/
void move_cursor( int steps );
/**
This is for writing process notification messages. Has to write to
stdout, so clr_eol and such functions will work correctly. Not an