summaryrefslogtreecommitdiff
path: root/usr.bin/vim/misccmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/vim/misccmds.c')
-rw-r--r--usr.bin/vim/misccmds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/vim/misccmds.c b/usr.bin/vim/misccmds.c
index 01e2c5dae5e..c7631498cf7 100644
--- a/usr.bin/vim/misccmds.c
+++ b/usr.bin/vim/misccmds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misccmds.c,v 1.2 1996/09/21 06:23:10 downsj Exp $ */
+/* $OpenBSD: misccmds.c,v 1.3 1996/09/22 01:18:04 downsj Exp $ */
/* vi:set ts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
@@ -1459,6 +1459,7 @@ change_warning(col)
MSG_OUTSTR("Warning: Changing a readonly file");
msg_clr_eos();
(void)msg_end();
+ flushbuf();
mch_delay(1000L, TRUE); /* give him some time to think about it */
curbuf->b_did_warn = TRUE;
}