diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2013-04-08 12:36:33 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2013-04-08 12:36:33 +0000 |
commit | a342af3d63b304dd630f3cbde242f7266739bbaa (patch) | |
tree | 104e3a5b451875124f2d1584cb592a5d471aaacd /terms.c | |
parent | Merge from upstream on 2012-05-22 (diff) | |
download | w3m-a342af3d63b304dd630f3cbde242f7266739bbaa.tar.gz w3m-a342af3d63b304dd630f3cbde242f7266739bbaa.zip |
Support SGR 1006 mouse reporting
Patch to support SGR 1006 mouse reporting, from [w3m-dev 04466]
on 2012-07-15, provided by Hayaki Saito.
Diffstat (limited to '')
-rw-r--r-- | terms.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2027,8 +2027,8 @@ sleep_till_anykey(int sec, int purge) #ifdef USE_MOUSE -#define XTERM_ON {fputs("\033[?1001s\033[?1000h",ttyf); flush_tty();} -#define XTERM_OFF {fputs("\033[?1000l\033[?1001r",ttyf); flush_tty();} +#define XTERM_ON {fputs("\033[?1001s\033[?1000h\033[?1006h",ttyf); flush_tty();} +#define XTERM_OFF {fputs("\033[?1006l\033[?1000l\033[?1001r",ttyf); flush_tty();} #define CYGWIN_ON {fputs("\033[?1000h",ttyf); flush_tty();} #define CYGWIN_OFF {fputs("\033[?1000l",ttyf); flush_tty();} |