Implement scrolling region

This commit is contained in:
Keith Winstein
2011-01-31 20:11:25 -05:00
parent ed55c4c892
commit ea1f8621f1
4 changed files with 72 additions and 11 deletions
+7
View File
@@ -42,6 +42,8 @@ namespace Terminal {
std::vector<bool> tabs;
int scrolling_region_top_row, scrolling_region_bottom_row;
public:
bool next_print_will_wrap;
bool origin_mode;
@@ -63,6 +65,11 @@ namespace Terminal {
void clear_tab( int col );
int get_next_tab( void );
void set_scrolling_region( int top, int bottom );
int limit_top( void );
int limit_bottom( void );
DrawState( int s_width, int s_height );
};