updated for version 7.3.102

Problem:    When using ":make", typing the next command and then getting the
            "reload" prompt the next command is (partly) eaten by the reload
            prompt.
Solution:   Accept ':' as a special character at the reload prompt to accept
            the default choice and execute the command.
This commit is contained in:
Bram Moolenaar
2011-01-17 20:08:11 +01:00
parent e279335752
commit d2c340a6a6
23 changed files with 46 additions and 28 deletions
+2 -2
View File
@@ -9323,7 +9323,7 @@ f_confirm(argvars, rettv)
if (!error)
rettv->vval.v_number = do_dialog(type, NULL, message, buttons,
def, NULL);
def, NULL, FALSE);
#endif
}
@@ -12744,7 +12744,7 @@ f_inputdialog(argvars, rettv)
IObuff[0] = NUL;
if (message != NULL && defstr != NULL
&& do_dialog(VIM_QUESTION, NULL, message,
(char_u *)_("&OK\n&Cancel"), 1, IObuff) == 1)
(char_u *)_("&OK\n&Cancel"), 1, IObuff, FALSE) == 1)
rettv->vval.v_string = vim_strsave(IObuff);
else
{