summaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-02-10 23:02:33 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2016-02-10 23:02:33 +0100
commit11519ee86087619b13d1686bcc4a456b085c4da4 (patch)
treef01000d825645da01cd1fd5d7e391cfe1d935d2f /degesch.c
parent03d5b273982406593b976c1487e81f6401acba26 (diff)
downloadxK-11519ee86087619b13d1686bcc4a456b085c4da4.tar.gz
xK-11519ee86087619b13d1686bcc4a456b085c4da4.tar.xz
xK-11519ee86087619b13d1686bcc4a456b085c4da4.zip
degesch: update screen size when terminal resumed
Apparently we don't receive the events when we give up the terminal.
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/degesch.c b/degesch.c
index 7d01ef9..2f010d2 100644
--- a/degesch.c
+++ b/degesch.c
@@ -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)