aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-06-29 05:00:43 +0200
committerPřemysl Eric Janouch <p@janouch.name>2021-06-29 05:00:43 +0200
commitd47bcfb20342615196d8ae6f64bef1cf4d72bbcb (patch)
tree3b7e78e6fd479ea35c699dce8e86bc83243a480e
parentff081959732f48153652bbd07dabc57a837fb6d5 (diff)
downloadtermo-d47bcfb20342615196d8ae6f64bef1cf4d72bbcb.tar.gz
termo-d47bcfb20342615196d8ae6f64bef1cf4d72bbcb.tar.xz
termo-d47bcfb20342615196d8ae6f64bef1cf4d72bbcb.zip
Make note of urxvt 9.25's 1006 support
-rw-r--r--driver-ti.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/driver-ti.c b/driver-ti.c
index 46a1d8b..6dbdfc1 100644
--- a/driver-ti.c
+++ b/driver-ti.c
@@ -272,7 +272,8 @@ load_terminfo (termo_ti_t *ti, const char *term)
if (!have_mouse)
ti->tk->guessed_mouse_proto = TERMO_MOUSE_PROTO_NONE;
else if (strstr (term, "rxvt") == term)
- // urxvt generally doesn't understand the SGR protocol.
+ // urxvt didn't understand the SGR protocol until version 9.25,
+ // it's safest to keep using 1015.
ti->tk->guessed_mouse_proto = TERMO_MOUSE_PROTO_RXVT;
else
// SGR (1006) is the superior protocol. If it's not supported by the