commit fd6a3e74e53201b4df5000537c752b47ffdaaefd
parent 15ecb3ed3be0740a3cdf8c9f59866a6286a79bb2
Author: ukai <ukai>
Date: Tue, 18 Jan 2005 16:37:58 +0000
[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:
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-19 Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
+
+ * [w3m-dev 04133] mouse_end() should preced reset_tty()?
+ * terms.c (reset_exit): mouse_end() should precede reset_tty()
+
2005-01-05 Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 04130] [w3m-dev 04131] [w3m-dev 04132] Multiple challeges in *-Authenticate header
diff --git a/terms.c b/terms.c
@@ -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;
}