aboutsummaryrefslogtreecommitdiffstats
path: root/terms.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2013-04-08 12:56:49 +0000
committerTatsuya Kinoshita <tats@debian.org>2013-04-08 12:56:49 +0000
commitf1d51e933e2a3b4dfb65d329d15bf782bd8f86bd (patch)
tree40091a2df83aa6b205265fd43cb5bb18b0cb6971 /terms.c
parentMerge from upstream on 2012-05-22 (diff)
parentSupport SGR 1006 mouse reporting (diff)
downloadw3m-f1d51e933e2a3b4dfb65d329d15bf782bd8f86bd.tar.gz
w3m-f1d51e933e2a3b4dfb65d329d15bf782bd8f86bd.zip
Merge branch 'feature/sgrmouse'
Diffstat (limited to '')
-rw-r--r--terms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/terms.c b/terms.c
index 7a3c987..8d928a2 100644
--- a/terms.c
+++ b/terms.c
@@ -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();}