aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index ffa22995..57726233 100644
--- a/input.c
+++ b/input.c
@@ -1610,7 +1610,7 @@ input_csi_dispatch(struct input_ctx *ictx)
break;
case INPUT_CSI_XDA:
n = input_get(ictx, 0, 0, 0);
- if (n != 0)
+ if (n == 0)
input_reply(ictx, "\033P>|tmux %s\033\\", getversion());
break;