term: Fix shell_resized for abstract_ui

This commit is contained in:
Thiago de Arruda 2015-01-13 11:00:46 -03:00
parent 6f7db326cb
commit 8bff79d3fd

View File

@ -2206,8 +2206,12 @@ void win_new_shellsize(void)
*/
void shell_resized(void)
{
if (abstract_ui) {
ui_refresh();
} else {
screen_resize(0, 0, FALSE);
}
}
/*
* Check if the shell size changed. Handle a resize.