Fix usage of a nonstandard escape sequence
This commit is contained in:
parent
8265f075b1
commit
2518b53e5a
|
@ -246,7 +246,7 @@ load_terminfo (termo_ti_t *ti, const char *term)
|
||||||
set_mouse_string = tigetstr ("XM");
|
set_mouse_string = tigetstr ("XM");
|
||||||
#endif
|
#endif
|
||||||
if (!set_mouse_string || set_mouse_string == (char *) -1)
|
if (!set_mouse_string || set_mouse_string == (char *) -1)
|
||||||
ti->set_mouse_string = strdup ("\E[?1000%?%p1%{1}%=%th%el%;");
|
ti->set_mouse_string = strdup ("\x1b[?1000%?%p1%{1}%=%th%el%;");
|
||||||
else
|
else
|
||||||
ti->set_mouse_string = strdup (set_mouse_string);
|
ti->set_mouse_string = strdup (set_mouse_string);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue