Source

srw / srw.c

Diff from to
 	if (!winch && sig == SIGWINCH)
 		return;
 
+	if (sig == 0) {
+		cursor_org();
+		cursor_clr();
+		fflush(stdout);
+	}
+
 	if (ioctl(STDOUT, TIOCGWINSZ, &ws) < 0)
 		err(1, "failed ioctl");