aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-11-21 14:07:31 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-11-21 14:09:34 +0100
commitcd8e3d6d41891aa3decc91f78ce4740e2bddfd05 (patch)
tree08234f31782ebb0cfe287aca00a92474b0ed8097
parentfa965a85e46e7fd7245af4c205855e4b4d76ba56 (diff)
downloadxK-cd8e3d6d41891aa3decc91f78ce4740e2bddfd05.tar.gz
xK-cd8e3d6d41891aa3decc91f78ce4740e2bddfd05.tar.xz
xK-cd8e3d6d41891aa3decc91f78ce4740e2bddfd05.zip
degesch: make Ctrl-L also fix window size
-rw-r--r--degesch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/degesch.c b/degesch.c
index 8541526..e04e92b 100644
--- a/degesch.c
+++ b/degesch.c
@@ -9990,6 +9990,9 @@ redraw_screen (struct app_context *ctx)
input_hide (&ctx->input);
+ // If by some circumstance we had the wrong idea
+ input_on_terminal_resized (&ctx->input);
+
terminal_printer_fn printer = get_attribute_printer (stdout);
tputs (clear_screen, 1, printer);
fflush (stdout);