mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 17:52:02 +02:00
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:
@@ -712,6 +712,10 @@ dispatch_csi(Screen *screen, PyObject DUMP_UNUSED *dump_callback) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
switch(params[0]) {
|
switch(params[0]) {
|
||||||
|
case 4:
|
||||||
|
case 8:
|
||||||
|
log_error("Escape codes to resize text area are not supported");
|
||||||
|
break;
|
||||||
case 14:
|
case 14:
|
||||||
case 16:
|
case 16:
|
||||||
case 18:
|
case 18:
|
||||||
|
|||||||
Reference in New Issue
Block a user