From: simon Date: Tue, 8 Jan 2002 09:56:31 +0000 (+0000) Subject: Patch from RDB: the ESC[8...t resize sequence and the ESC[18t size X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/0622ea7168aa265db70be885fbffb050f29f0205 Patch from RDB: the ESC[8...t resize sequence and the ESC[18t size report should both quote rows before columns, not vice versa. git-svn-id: svn://svn.tartarus.org/sgt/putty@1534 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/terminal.c b/terminal.c index 2962b0a0..1c817dac 100644 --- a/terminal.c +++ b/terminal.c @@ -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: