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
>132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169