From 4bbd1b5285d2047be7ee2582ebea3e5010cc80ec Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 31 Aug 2022 08:07:05 +0000 Subject: [PATCH] Fix window size report, from Vincent Bernat. --- usr.bin/tmux/input.c | 4 ++-- 1 file 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 @@ -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); -- 2.20.1