mirror of
https://github.com/zoriya/vim.git
synced 2026-05-28 17:14:39 +00:00
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:
+2
-2
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user