Implement tabs
This commit is contained in:
@@ -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 );
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user