summaryrefslogtreecommitdiffstats
path: root/src/wins.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wins.c')
-rw-r--r--src/wins.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/wins.c b/src/wins.c
index da517e8..2d521c1 100644
--- a/src/wins.c
+++ b/src/wins.c
@@ -584,12 +584,18 @@ void wins_update(int flags)
}
/* Reset the screen, needed when resizing terminal for example. */
-void wins_reset(void)
+void wins_reset_noupdate(void)
{
endwin();
wins_refresh();
curs_set(0);
wins_reinit();
+}
+
+/* Reset the screen, needed when resizing terminal for example. */
+void wins_reset(void)
+{
+ wins_reset_noupdate();
wins_update(FLAG_ALL);
}