Implement tabs

This commit is contained in:
Keith Winstein
2011-01-31 06:10:02 -05:00
parent e4dce8f6e2
commit 92d80accf9
5 changed files with 63 additions and 3 deletions
+7
View File
@@ -40,8 +40,11 @@ namespace Terminal {
int cursor_col, cursor_row;
int combining_char_col, combining_char_row;
std::vector<bool> tabs;
public:
bool next_print_will_wrap;
bool auto_wrap_mode;
/* bold, etc. */
@@ -55,6 +58,10 @@ namespace Terminal {
int get_width( void ) { return width; }
int get_height( void ) { return height; }
void set_tab( void );
void clear_tab( int col );
int get_next_tab( void );
DrawState( int s_width, int s_height );
};