summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2022-08-31 08:07:06 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2022-08-31 08:07:06 +0000
commitfb6383b1e3110f841ff80c1c7eb3518b5195d9e6 (patch)
tree669c96f83cb0e804fd549ce1646bbd8a1e951831
parentac49e3fd6dfe7f4ff5b89f730d10368c32575ac5 (diff)
Fix window size report, from Vincent Bernat.
-rw-r--r--usr.bin/tmux/input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c
index 447f461c40d..0f2210d712b 100644
--- a/usr.bin/tmux/input.c
+++ b/usr.bin/tmux/input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input.c,v 1.207 2022/08/02 11:09:26 nicm Exp $ */
+/* $OpenBSD: input.c,v 1.208 2022/08/31 08:07:05 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1899,7 +1899,7 @@ input_csi_dispatch_winops(struct input_ctx *ictx)
}
break;
case 18:
- input_reply(ictx, "\033[8;%u;%ut", x, y);
+ input_reply(ictx, "\033[8;%u;%ut", y, x);
break;
default:
log_debug("%s: unknown '%c'", __func__, ictx->ch);