From 97731141adf0c0250bdb2a8d90c066eb934a1a14 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 7 Jul 1999 13:16:41 +0000 Subject: [PATCH] Fix misparse of ESC[?9r sequence; I must find out what it _should_ do [originally from svn r176] --- terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.c b/terminal.c index 4d0e66e7..4ecb39c6 100644 --- a/terminal.c +++ b/terminal.c @@ -929,7 +929,7 @@ void term_out(void) { } break; case 'r': /* set scroll margins */ - if (esc_nargs <= 2) { + if (!esc_query && esc_nargs <= 2) { int top, bot; top = def(esc_args[0], 1) - 1; if (top < 0)