From b891f4f874aeea3585e0fdcdca14fb544a33f1eb Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 29 Aug 2018 10:09:06 +0530 Subject: [PATCH] Better error message for attempts to use CSI codes to resize the window nvim does this for some odd reason --- kitty/parser.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kitty/parser.c b/kitty/parser.c index 12b305d2e..c62499465 100644 --- a/kitty/parser.c +++ b/kitty/parser.c @@ -712,6 +712,10 @@ dispatch_csi(Screen *screen, PyObject DUMP_UNUSED *dump_callback) { break; } switch(params[0]) { + case 4: + case 8: + log_error("Escape codes to resize text area are not supported"); + break; case 14: case 16: case 18: