about summary refs log tree commit diff stats
path: root/src/LYCurses.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYCurses.c')
-rw-r--r--src/LYCurses.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/LYCurses.c b/src/LYCurses.c
index d134f4b9..35bfc6eb 100644
--- a/src/LYCurses.c
+++ b/src/LYCurses.c
@@ -667,7 +667,7 @@ PUBLIC void start_curses NOARGS
 
     if (first_time) {
 	/*
-	 *  If we're not VMS then only do initsrc() one time,
+	 *  If we're not VMS then only do initscr() one time,
 	 *  and one time only!
 	 */
 	if (initscr() == NULL) {  /* start curses */
@@ -684,6 +684,9 @@ PUBLIC void start_curses NOARGS
 #endif /* SIGTSTP */
 	    exit (-1);
 	}
+#if defined(SIGWINCH) && defined(NCURSES_VERSION)
+	size_change(0);
+#endif /* SIGWINCH */
 
 	/*
 	 * This is a workaround for a bug in SVr4 curses, observed on Solaris