aboutsummaryrefslogtreecommitdiffstats
path: root/linein.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-12 17:04:20 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-12 17:04:20 +0000
commit776c1fa566c5fbf9ca7d64722bbce14664e78011 (patch)
tree7b9978b79d3c42b5a3a182d9d2d15569b03f98f8 /linein.c
parent[w3m-dev 02651] search keymap using hash (diff)
downloadw3m-776c1fa566c5fbf9ca7d64722bbce14664e78011.tar.gz
w3m-776c1fa566c5fbf9ca7d64722bbce14664e78011.zip
[w3m-dev 02541] mouse support on cygwin
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat (limited to 'linein.c')
-rw-r--r--linein.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/linein.c b/linein.c
index 60fd81e..3b3fd31 100644
--- a/linein.c
+++ b/linein.c
@@ -1,4 +1,4 @@
-/* $Id: linein.c,v 1.16 2001/12/07 08:01:33 ukai Exp $ */
+/* $Id: linein.c,v 1.17 2001/12/12 17:04:21 ukai Exp $ */
#include "fm.h"
#include "local.h"
#include "myctype.h"
@@ -432,6 +432,15 @@ _esc(void)
case 'D':
_mvL();
break;
+#if defined(__CYGWIN__) && defined(USE_MOUSE)
+ case 'M':
+ if ((is_xterm & (NEED_XTERM_ON | NEED_XTERM_OFF)) == NEED_XTERM_ON) {
+ getch();
+ getch();
+ getch();
+ }
+ break;
+#endif
}
break;
case CTRL_I: