aboutsummaryrefslogtreecommitdiffstats
path: root/terms.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2005-01-18 16:37:58 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2005-01-18 16:37:58 +0000
commit57d2818318c0b77117b9b1dd475cee30d0cd7497 (patch)
tree61b0241004a2a7b1eeb5a54e1f6346392cdfdd78 /terms.c
parent[w3m-dev 04130] [w3m-dev 04131] [w3m-dev 04132] Multiple challeges in *-Authe... (diff)
downloadw3m-57d2818318c0b77117b9b1dd475cee30d0cd7497.tar.gz
w3m-57d2818318c0b77117b9b1dd475cee30d0cd7497.zip
[w3m-dev 04133] mouse_end() should preced reset_tty()?
* terms.c (reset_exit): mouse_end() should precede reset_tty() From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat (limited to '')
-rw-r--r--terms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/terms.c b/terms.c
index 8df97d8..ed9f425 100644
--- a/terms.c
+++ b/terms.c
@@ -1,4 +1,4 @@
-/* $Id: terms.c,v 1.52 2004/07/15 16:32:38 ukai Exp $ */
+/* $Id: terms.c,v 1.53 2005/01/18 16:38:01 ukai Exp $ */
/*
* An original curses library for EUC-kanji by Akinori ITO, December 1989
* revised by Akinori ITO, January 1995
@@ -596,11 +596,11 @@ reset_tty(void)
MySignalHandler
reset_exit(SIGNAL_ARG)
{
- reset_tty();
#ifdef USE_MOUSE
if (mouseActive)
mouse_end();
#endif /* USE_MOUSE */
+ reset_tty();
w3m_exit(0);
SIGNAL_RETURN;
}