w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 602a1c94804f3d745a203d8490b824c1fa37efdc
parent e0a1a3d195b02462342c3a69c3f949d54e257524
Author: ukai <ukai>
Date:   Mon, 19 Nov 2001 19:21:11 +0000

[w3m-dev 02447] XTerm's mouse sequence should be skipped?
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>

Diffstat:
MChangeLog | 5+++++
Mterms.c | 8++++++++
2 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,8 @@ +2001-11-20 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * terms.c (skip_escseq): [w3m-dev 02447] + is_xterm && ESC [ M <ch> <ch> <ch> + 2001-11-20 Fumitoshi UKAI <ukai@debian.or.jp> * terms.c (mouse_init): Gpm_Close() is required. diff --git a/terms.c b/terms.c @@ -1670,6 +1670,14 @@ skip_escseq(void) c = getch(); if (c == '[' || c == 'O') { c = getch(); +#ifdef MOUSE + if (is_xterm && c == 'M') { + getch(); + getch(); + getch(); + } + else +#endif while (IS_DIGIT(c)) c = getch(); }