From b449322c1ab689c271c5c18dc25a7303cd6a48af Mon Sep 17 00:00:00 2001 From: Egmont Koblinger Date: Sun, 9 Aug 2015 06:57:00 +0900 Subject: Support sgrmouse for skip_escseq Origin: https://sourceforge.net/p/w3m/patches/65/#e2aa --- terms.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terms.c b/terms.c index 339b645..2866e1d 100644 --- a/terms.c +++ b/terms.c @@ -2247,6 +2247,10 @@ skip_escseq(void) getch(); getch(); getch(); + } else if (is_xterm && c == '<') { + c = getch(); + while (IS_DIGIT(c) || c == ';') + c = getch(); } else #endif -- cgit v1.2.3