diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-19 17:18:54 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-19 17:18:54 +0000 |
commit | b8ec81336b03caf3c81bc372d9b614c176d99bcd (patch) | |
tree | d6eb79bd5557a3f9f19ad8b7e46784497dba254c /terms.c | |
parent | ftp.c (ftp_fclose): void return (diff) | |
download | w3m-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 '')
-rw-r--r-- | terms.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; } |