Make note of urxvt 9.25's 1006 support

This commit is contained in:
Přemysl Eric Janouch 2021-06-29 05:00:43 +02:00
parent ff08195973
commit d47bcfb203
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -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