mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 06:25:13 +02:00
Handle the XTMODKEYS escape code
Treat the XTerm specific modifyOtherKeys escape codes as putting the disambiguate mode on/off the stack. The escape code causes XTerm to use a (broken, naturally) variant of CSI u encoding for many keys, so we treat it as going into the disambiguate mode.
This commit is contained in:
@@ -943,7 +943,7 @@ dispatch_csi(Screen *screen, PyObject DUMP_UNUSED *dump_callback) {
|
||||
break;
|
||||
case 'm':
|
||||
if (start_modifier == '>' && !end_modifier) {
|
||||
REPORT_ERROR("Ignoring xterm specific key modifier resource options (CSI > m)");
|
||||
CALL_CSI_HANDLER2(screen_xtmodkeys, 0, 0);
|
||||
break;
|
||||
}
|
||||
/* fallthrough */
|
||||
|
||||
Reference in New Issue
Block a user