Commits

Anonymous committed 8524b10

if the user hit ^L clear the screen and then send sigwinch

  • Participants
  • Parent commits 3ab1f23

Comments (0)

Files changed (1)

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