Fix scrolling region and origin mode

This commit is contained in:
Keith Winstein
2011-01-31 22:08:28 -05:00
parent bc5caae26b
commit aa4d9d4b23
3 changed files with 21 additions and 9 deletions
+2
View File
@@ -227,6 +227,8 @@ void CSI_DECSTBM( Framebuffer *fb, Dispatcher *dispatch )
int bottom = dispatch->getparam( 1, fb->ds.get_height() );
fb->ds.set_scrolling_region( top - 1, bottom - 1 );
fb->ds.move_row( 0 );
fb->ds.move_col( 0 );
}
static Function func_CSI_DECSTMB( CSI, "r", CSI_DECSTBM );