Final tab-related bugfix (of the morning). Now matches xterm more closely.

This commit is contained in:
Keith Winstein
2012-04-16 11:31:37 -04:00
parent 0293e579d2
commit bfa0999089
3 changed files with 31 additions and 28 deletions
+5 -2
View File
@@ -157,8 +157,11 @@ namespace Terminal {
int cursor_col, cursor_row;
int combining_char_col, combining_char_row;
bool default_tabs;
std::vector<bool> tabs;
void reinitialize_tabs( unsigned int start );
int scrolling_region_top_row, scrolling_region_bottom_row;
Renditions renditions;
@@ -189,10 +192,10 @@ namespace Terminal {
void set_tab( void );
void clear_tab( int col );
void clear_default_tabs( void ) { default_tabs = false; }
/* Default tabs can't be restored without resetting the draw state. */
int get_next_tab( void );
std::vector<int> get_tabs( void );
void set_scrolling_region( int top, int bottom );
int get_scrolling_region_top_row( void ) const { return scrolling_region_top_row; }