Better error message for attempts to use CSI codes to resize the window

nvim does this for some odd reason
This commit is contained in:
Kovid Goyal 2018-08-29 10:09:06 +05:30
parent 92d06b3088
commit b891f4f874
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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: