w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit e0a1a3d195b02462342c3a69c3f949d54e257524
parent 421f734084d79b5d78c0b2324010e68c91716f08
Author: ukai <ukai>
Date:   Mon, 19 Nov 2001 19:19:21 +0000

Gpm_Close() is required.
  closes: Debian Bug#120221: w3m-ssl: trashes terminal on exit

Diffstat:
MChangeLog | 5+++++
Mterms.c | 4++++
2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,8 @@ +2001-11-20 Fumitoshi UKAI <ukai@debian.or.jp> + + * terms.c (mouse_init): Gpm_Close() is required. + closes: Debian Bug#120221: w3m-ssl: trashes terminal on exit + 2001-11-20 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> * XMakefile (funcname1.h funcname2.h): sort as well as funcname.c diff --git a/terms.c b/terms.c @@ -1728,7 +1728,11 @@ mouse_init() /* * If Gpm_Open() success, returns >= 0 * Gpm_Open() returns -2 in case of xterm. + * Gpm_Close() is necessary here. Otherwise, + * xterm is being left in the mode where the mouse clicks are + * passed through to the application. */ + Gpm_Close(); is_xterm = 1; } else { gpm_handler = gpm_process_mouse;