Mercurial > vim
changeset 1809:e9d018b58830 v7.2.107
updated for version 7.2-107
author | vimboss |
---|---|
date | Wed, 11 Feb 2009 17:47:54 +0000 |
parents | e2d7622d7089 |
children | 5d84650b569c |
files | src/message.c src/version.c |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/message.c +++ b/src/message.c @@ -3309,7 +3309,10 @@ do_dialog(type, title, message, buttons, { 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. */