win32tty: startup msg cleanup

the win32 cursor restriction stuff messed up any
messages displayed during abnormal start conditions
where the window system never got initialized properly.
among them:
- messages relating to lock files or games in progress
- dungeon errors
- early panic messages
This commit is contained in:
nethack.allison
2003-10-24 15:15:44 +00:00
parent 4ceb7c3743
commit 45dd5ffe9f
5 changed files with 94 additions and 5 deletions

View File

@@ -791,8 +791,11 @@ tty_exit_nhwindows(str)
#endif
wins[i] = 0;
}
#ifndef NO_TERMS /*(until this gets added to the window interface)*/
#ifndef NO_TERMS /*(until this gets added to the window interface)*/
tty_shutdown(); /* cleanup termcap/terminfo/whatever */
#endif
#ifdef WIN32CON
nttty_close();
#endif
iflags.window_inited = 0;
}