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:
parent
03d5b27398
commit
11519ee860
@ -11109,6 +11109,7 @@ resume_terminal (struct app_context *ctx)
|
|||||||
if (--ctx->terminal_suspended > 0)
|
if (--ctx->terminal_suspended > 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
update_screen_size ();
|
||||||
#ifdef HAVE_READLINE
|
#ifdef HAVE_READLINE
|
||||||
rl_prep_terminal (true);
|
rl_prep_terminal (true);
|
||||||
#elif defined (HAVE_EDITLINE)
|
#elif defined (HAVE_EDITLINE)
|
||||||
|
Loading…
Reference in New Issue
Block a user