- is not a CSI start modifier

This commit is contained in:
Kovid Goyal 2021-01-21 06:44:18 +05:30
parent e4d8aac3d5
commit 7cea233de3
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -704,7 +704,7 @@ dispatch_csi(Screen *screen, PyObject DUMP_UNUSED *dump_callback) {
unsigned int num = screen->parser_buf_pos, start, i, num_params=0, p1, p2;
static unsigned int params[MAX_PARAMS] = {0};
bool private;
if (buf[0] == '>' || buf[0] == '<' || buf[0] == '?' || buf[0] == '!' || buf[0] == '=' || buf[0] == '-') {
if (buf[0] == '>' || buf[0] == '<' || buf[0] == '?' || buf[0] == '!' || buf[0] == '=') {
start_modifier = (char)screen->parser_buf[0];
buf++; num--;
}