summaryrefslogtreecommitdiff
path: root/usr.bin/mg/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mg/main.c')
-rw-r--r--usr.bin/mg/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/mg/main.c b/usr.bin/mg/main.c
index 48e09b2f537..7dea6f41178 100644
--- a/usr.bin/mg/main.c
+++ b/usr.bin/mg/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.16 2002/02/20 22:30:54 vincent Exp $ */
+/* $OpenBSD: main.c,v 1.17 2002/02/21 00:02:04 deraadt Exp $ */
/*
* Mainline.
@@ -81,6 +81,10 @@ main(argc, argv)
if (epresf == KPROMPT)
eerase();
#endif /* !NO_DPROMPT */
+ if (winch_flag) {
+ refresh(0, 0);
+ winch_flag = 0;
+ }
update();
lastflag = thisflag;
thisflag = 0;