mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-24 15:55:14 +00:00
Call def_prog_mode() in endwin(), just before PDC_scr_close(). Now the
mouse works in MultiMail for OS/2 and DOS, yay. To Do: Why does the cursor appear in DOS? (PDCurses or MultiMail issue?)
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#include <curspriv.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
RCSID("$Id: initscr.c,v 1.90 2006/11/20 04:06:00 wmcbrine Exp $");
|
||||
RCSID("$Id: initscr.c,v 1.91 2006/11/20 04:22:50 wmcbrine Exp $");
|
||||
|
||||
const char *_curses_notice = "PDCurses 3.0 - Public Domain 2006";
|
||||
|
||||
@@ -244,6 +244,7 @@ int endwin(void)
|
||||
|
||||
/* Allow temporary exit from curses using endwin() */
|
||||
|
||||
def_prog_mode();
|
||||
PDC_scr_close();
|
||||
|
||||
SP->alive = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user