Fix window size report, from Vincent Bernat.

This commit is contained in:
nicm 2022-08-31 08:07:05 +00:00
parent e867528209
commit 68dc9af9ac

View File

@ -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);