mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-21 22:28:37 -05: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:
parent
ba435fa6a0
commit
349e2ce9e2
@ -1993,8 +1993,8 @@ void term_out(void)
|
|||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
if (esc_nargs >= 3) {
|
if (esc_nargs >= 3) {
|
||||||
request_resize(def(esc_args[1], cfg.width),
|
request_resize(def(esc_args[2], cfg.width),
|
||||||
def(esc_args[2], cfg.height));
|
def(esc_args[1], cfg.height));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 9:
|
case 9:
|
||||||
@ -2017,7 +2017,7 @@ void term_out(void)
|
|||||||
break;
|
break;
|
||||||
case 18:
|
case 18:
|
||||||
len = sprintf(buf, "\033[8;%d;%dt",
|
len = sprintf(buf, "\033[8;%d;%dt",
|
||||||
cols, rows);
|
rows, cols);
|
||||||
ldisc_send(buf, len, 0);
|
ldisc_send(buf, len, 0);
|
||||||
break;
|
break;
|
||||||
case 19:
|
case 19:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user