mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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:
@@ -1135,8 +1135,11 @@ msg_start()
|
||||
{
|
||||
int did_return = FALSE;
|
||||
|
||||
vim_free(keep_msg);
|
||||
keep_msg = NULL; /* don't display old message now */
|
||||
if (!msg_silent)
|
||||
{
|
||||
vim_free(keep_msg);
|
||||
keep_msg = NULL; /* don't display old message now */
|
||||
}
|
||||
|
||||
#ifdef FEAT_EVAL
|
||||
if (need_clr_eos)
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user