1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

Patch from RDB: the ESC[8...t resize sequence and the ESC[18t size

report should both quote rows before columns, not vice versa.

[originally from svn r1534]
This commit is contained in:
Simon Tatham 2002-01-08 09:56:31 +00:00
parent ba435fa6a0
commit 349e2ce9e2

View File

@ -1993,8 +1993,8 @@ void term_out(void)
break;
case 8:
if (esc_nargs >= 3) {
request_resize(def(esc_args[1], cfg.width),
def(esc_args[2], cfg.height));
request_resize(def(esc_args[2], cfg.width),
def(esc_args[1], cfg.height));
}
break;
case 9:
@ -2017,7 +2017,7 @@ void term_out(void)
break;
case 18:
len = sprintf(buf, "\033[8;%d;%dt",
cols, rows);
rows, cols);
ldisc_send(buf, len, 0);
break;
case 19: