screen: Fix screen_resize to consider minimum screen size

This commit is contained in:
Thiago de Arruda 2015-01-15 09:01:16 -03:00
parent 361c2290b6
commit c51c0950d3

View File

@ -8185,6 +8185,8 @@ void screen_resize(int width, int height, int mustset)
Columns = width; Columns = width;
} }
check_shellsize(); check_shellsize();
height = Rows;
width = Columns;
if (abstract_ui) { if (abstract_ui) {
// Clear the output buffer to ensure UIs don't receive redraw command meant // Clear the output buffer to ensure UIs don't receive redraw command meant