aboutsummaryrefslogtreecommitdiffstats
path: root/terms.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-11-19 17:18:54 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-11-19 17:18:54 +0000
commitb8ec81336b03caf3c81bc372d9b614c176d99bcd (patch)
treed6eb79bd5557a3f9f19ad8b7e46784497dba254c /terms.c
parentftp.c (ftp_fclose): void return (diff)
downloadw3m-b8ec81336b03caf3c81bc372d9b614c176d99bcd.tar.gz
w3m-b8ec81336b03caf3c81bc372d9b614c176d99bcd.zip
[w3m-dev 03450] Re: cygwin console on Win9X
* terms.c (mouse_init): ifdef __CYGWIN__ (mouse_end): ditto From: Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
Diffstat (limited to 'terms.c')
-rw-r--r--terms.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/terms.c b/terms.c
index e2c6522..6f43baf 100644
--- a/terms.c
+++ b/terms.c
@@ -1,4 +1,4 @@
-/* $Id: terms.c,v 1.38 2002/11/15 15:45:18 ukai Exp $ */
+/* $Id: terms.c,v 1.39 2002/11/19 17:18:54 ukai Exp $ */
/*
* An original curses library for EUC-kanji by Akinori ITO, December 1989
* revised by Akinori ITO, January 1995
@@ -2121,9 +2121,11 @@ mouse_init()
if (is_xterm & NEED_XTERM_ON) {
XTERM_ON;
}
+#ifdef __CYGWIN__
else if (is_xterm & NEED_CYGWIN_ON) {
CYGWIN_ON;
}
+#endif
mouseActive = 1;
}
@@ -2135,9 +2137,11 @@ mouse_end()
if (is_xterm & NEED_XTERM_OFF) {
XTERM_OFF;
}
+#ifdef __CYGWIN__
else if (is_xterm & NEED_CYGWIN_OFF) {
CYGWIN_OFF;
}
+#endif
mouseActive = 0;
}