[w3m-dev 04133] mouse_end() should preced reset_tty()?

Kiyokazu SUTO <[email protected]> 16 Jan 2005 12:06:59 +0900
Newsgroups gmane.comp.web.w3m.devel
Message-ID <[email protected]>
mouse_end()reset_tty()

-- 
  <[email protected]>
http://pub.ks-and-ks.ne.jp/pgp-public-key.html

--- terms.c~	Fri Jul 16 01:32:38 2004
+++ terms.c	Sun Jan 16 12:03:51 2005
@@ -596,11 +596,11 @@
 MySignalHandler
 reset_exit(SIGNAL_ARG)
 {
-    reset_tty();
 #ifdef USE_MOUSE
     if (mouseActive)
 	mouse_end();
 #endif				/* USE_MOUSE */
+    reset_tty();
     w3m_exit(0);
     SIGNAL_RETURN;
 }