From 0b828b91a5f9bdf8d62e4352a842ec98a32b0b92 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 15 May 2020 17:49:07 +0100 Subject: [PATCH] Only send XDA on 0. --- input.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/input.c b/input.c index ebd2bc27..ffa22995 100644 --- a/input.c +++ b/input.c @@ -1609,7 +1609,9 @@ input_csi_dispatch(struct input_ctx *ictx) screen_set_cursor_style(s, n); break; case INPUT_CSI_XDA: - input_reply(ictx, "\033P>|tmux %s\033\\", getversion()); + n = input_get(ictx, 0, 0, 0); + if (n != 0) + input_reply(ictx, "\033P>|tmux %s\033\\", getversion()); break; }