Commit 039a5ea7cd84aa8f9e43c37692e83f82fa9d77d3

Con Kolivas 2011-07-23T16:17:28

No need to make leaveok changes win32 only.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/main.c b/main.c
index 1afaaf3..cb8bbcd 100644
--- a/main.c
+++ b/main.c
@@ -998,11 +998,9 @@ static void workio_cmd_free(struct workio_cmd *wc)
 static void disable_curses(void)
 {
 	if (test_and_clear(&curses_active)) {
-#ifdef WIN32
 		leaveok(logwin, false);
 		leaveok(statuswin, false);
 		leaveok(mainwin, false);
-#endif
 		nocbreak();
 		echo();
 		delwin(logwin);