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; break;
case 18: case 18:
input_reply(ictx, "\033[8;%u;%ut", x, y); input_reply(ictx, "\033[8;%u;%ut", y, x);
break; break;
default: default:
log_debug("%s: unknown '%c'", __func__, ictx->ch); log_debug("%s: unknown '%c'", __func__, ictx->ch);