From 11519ee86087619b13d1686bcc4a456b085c4da4 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Wed, 10 Feb 2016 23:02:33 +0100
Subject: degesch: update screen size when terminal resumed
Apparently we don't receive the events when we give up the terminal.
---
degesch.c | 1 +
1 file changed, 1 insertion(+)
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)
--
cgit v1.2.3-70-g09d2