Only send XDA on 0.

This commit is contained in:
Nicholas Marriott 2020-05-15 17:49:07 +01:00
parent dcf537519f
commit 0b828b91a5

View File

@ -1609,6 +1609,8 @@ input_csi_dispatch(struct input_ctx *ictx)
screen_set_cursor_style(s, n);
break;
case INPUT_CSI_XDA:
n = input_get(ictx, 0, 0, 0);
if (n != 0)
input_reply(ictx, "\033P>|tmux %s\033\\", getversion());
break;