static BOOL WINAPI _ctrl_break(DWORD dwCtrlType) { if (dwCtrlType == CTRL_BREAK_EVENT || dwCtrlType == CTRL_C_EVENT) PDC_scr_close(); return FALSE; }
int endwin(void) { PDC_LOG(("endwin() - called\n")); /* Allow temporary exit from curses using endwin() */ def_prog_mode(); PDC_scr_close(); SP->alive = FALSE; return OK; }
static LONG WINAPI _restore_console(LPEXCEPTION_POINTERS ep) { PDC_scr_close(); return EXCEPTION_CONTINUE_SEARCH; }