diff --git a/input.c b/input.c index d8b334de..37d64218 100644 --- a/input.c +++ b/input.c @@ -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);