degesch: update screen size when terminal resumed

Apparently we don't receive the events when we give up the terminal.
This commit is contained in:
Přemysl Eric Janouch 2016-02-10 23:02:33 +01:00
parent 03d5b27398
commit 11519ee860

View File

@ -11109,6 +11109,7 @@ resume_terminal (struct app_context *ctx)
if (--ctx->terminal_suspended > 0)
return;
update_screen_size ();
#ifdef HAVE_READLINE
rl_prep_terminal (true);
#elif defined (HAVE_EDITLINE)