aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgmont Koblinger <egmont@users.sourceforge.net>2015-08-08 21:57:00 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-08-08 21:57:00 +0000
commitb449322c1ab689c271c5c18dc25a7303cd6a48af (patch)
tree723ac1e2804be7f93db1961e4cfd68c46d5c3338
parentAdjust comments for keymaps (diff)
downloadw3m-b449322c1ab689c271c5c18dc25a7303cd6a48af.tar.gz
w3m-b449322c1ab689c271c5c18dc25a7303cd6a48af.zip
Support sgrmouse for skip_escseq
Origin: https://sourceforge.net/p/w3m/patches/65/#e2aa
Diffstat (limited to '')
-rw-r--r--terms.c4
1 files changed, 4 insertions, 0 deletions
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