0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

After entering a crypt key would need to hit return to continue.

When silencing a message it would still clear a kept message.
This commit is contained in:
Bram Moolenaar
2010-08-04 20:12:32 +02:00
parent 257a9c873f
commit e4ce65d445
2 changed files with 6 additions and 3 deletions

View File

@@ -1135,8 +1135,11 @@ msg_start()
{
int did_return = FALSE;
if (!msg_silent)
{
vim_free(keep_msg);
keep_msg = NULL; /* don't display old message now */
}
#ifdef FEAT_EVAL
if (need_clr_eos)

View File

@@ -4016,9 +4016,9 @@ get_crypt_key(store, twice)
}
/* since the user typed this, no need to wait for return */
need_wait_return = FALSE;
if (msg_didout)
msg_putchar('\n');
need_wait_return = FALSE;
msg_didout = FALSE;
free_crypt_key(p2);