mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-27 11:21:32 +00:00
Better error message for xterm specific key resource CSI codes that vim has started emitting
This commit is contained in:
parent
7ef911e17d
commit
d675977f10
1 changed files with 6 additions and 0 deletions
|
|
@ -783,6 +783,12 @@ dispatch_csi(Screen *screen, PyObject DUMP_UNUSED *dump_callback) {
|
|||
REPORT_ERROR("Unknown DECSTR CSI sequence with start and end modifiers: '%c' '%c'", start_modifier, end_modifier);
|
||||
}
|
||||
break;
|
||||
case 'm':
|
||||
if (start_modifier == '>' && !end_modifier) {
|
||||
REPORT_ERROR("Ignoring xterm specific key modifier resource options (CSI > m)");
|
||||
break;
|
||||
}
|
||||
/* fallthrough */
|
||||
default:
|
||||
REPORT_ERROR("Unknown CSI code: '%s' with start_modifier: '%c' and end_modifier: '%c' and parameters: '%s'", utf8(code), start_modifier, end_modifier, repr_csi_params(params, num_params));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue