Fix bug in scrolling region reset

This commit is contained in:
Keith Winstein
2011-02-04 01:56:28 -05:00
parent 2edf66c9e9
commit 9dc3c425ad
+1 -1
View File
@@ -387,7 +387,7 @@ void DrawState::resize( int s_width, int s_height )
/* xterm and rxvt-unicode do this. gnome-terminal only /* xterm and rxvt-unicode do this. gnome-terminal only
resets scrolling region if it has to become smaller in resize */ resets scrolling region if it has to become smaller in resize */
scrolling_region_top_row = 0; scrolling_region_top_row = 0;
scrolling_region_bottom_row = height - 1; scrolling_region_bottom_row = s_height - 1;
} }
width = s_width; width = s_width;