aboutsummaryrefslogtreecommitdiff
path: root/driver-ti.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-06-14 16:23:08 +0200
committerPřemysl Eric Janouch <p@janouch.name>2023-06-14 16:23:08 +0200
commit2518b53e5ae4579bf84ed58fa7a62806f64e861c (patch)
treee10369e5ec5bb16e1c988e654234a5ba26b3921a /driver-ti.c
parent8265f075b176b33680012094aa1ced5721e55ac9 (diff)
downloadtermo-2518b53e5ae4579bf84ed58fa7a62806f64e861c.tar.gz
termo-2518b53e5ae4579bf84ed58fa7a62806f64e861c.tar.xz
termo-2518b53e5ae4579bf84ed58fa7a62806f64e861c.zip
Fix usage of a nonstandard escape sequence
Diffstat (limited to 'driver-ti.c')
-rw-r--r--driver-ti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver-ti.c b/driver-ti.c
index 4caec50..3b7bd44 100644
--- a/driver-ti.c
+++ b/driver-ti.c
@@ -246,7 +246,7 @@ load_terminfo (termo_ti_t *ti, const char *term)
set_mouse_string = tigetstr ("XM");
#endif
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
ti->set_mouse_string = strdup (set_mouse_string);