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