Browse Source

No need to make leaveok changes win32 only.

nfactor-troky
Con Kolivas 14 years ago
parent
commit
039a5ea7cd
  1. 2
      main.c

2
main.c

@ -998,11 +998,9 @@ static void workio_cmd_free(struct workio_cmd *wc)
static void disable_curses(void) static void disable_curses(void)
{ {
if (test_and_clear(&curses_active)) { if (test_and_clear(&curses_active)) {
#ifdef WIN32
leaveok(logwin, false); leaveok(logwin, false);
leaveok(statuswin, false); leaveok(statuswin, false);
leaveok(mainwin, false); leaveok(mainwin, false);
#endif
nocbreak(); nocbreak();
echo(); echo();
delwin(logwin); delwin(logwin);

Loading…
Cancel
Save