From 8de49e183d4f44c723bff5c1744f1373934b4cca Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 11 Feb 2009 17:47:54 +0000 Subject: updated for version 7.2-107 --- src/message.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/message.c') diff --git a/src/message.c b/src/message.c index 5e3e530e04..e0f2897605 100644 --- a/src/message.c +++ b/src/message.c @@ -3309,7 +3309,10 @@ do_dialog(type, title, message, buttons, dfltbutton, textfield) { c = gui_mch_dialog(type, title, message, buttons, dfltbutton, textfield); - msg_end_prompt(); + /* avoid a hit-enter prompt without clearing the cmdline */ + need_wait_return = FALSE; + emsg_on_display = FALSE; + cmdline_row = msg_row; /* Flush output to avoid that further messages and redrawing is done * in the wrong order. */ -- cgit v1.2.3