Skip to content

Commit 6135d0d

Browse files
committed
patch 7.4.1636
Problem: When 'F' is in 'shortmess' the prompt for the encryption key isn't displayed. (Toothpik) Solution: Reset msg_silent.
1 parent 6a06363 commit 6135d0d

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/ex_getln.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1989,6 +1989,7 @@ getcmdline_prompt(
19891989
char_u *s;
19901990
struct cmdline_info save_ccline;
19911991
int msg_col_save = msg_col;
1992+
int msg_silent_save = msg_silent;
19921993

19931994
save_cmdline(&save_ccline);
19941995
ccline.cmdprompt = prompt;
@@ -1998,8 +1999,10 @@ getcmdline_prompt(
19981999
ccline.xp_arg = xp_arg;
19992000
ccline.input_fn = (firstc == '@');
20002001
# endif
2002+
msg_silent = 0;
20012003
s = getcmdline(firstc, 1L, 0);
20022004
restore_cmdline(&save_ccline);
2005+
msg_silent = msg_silent_save;
20032006
/* Restore msg_col, the prompt from input() may have changed it.
20042007
* But only if called recursively and the commandline is therefore being
20052008
* restored to an old one; if not, the input() prompt stays on the screen,

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,8 @@ static char *(features[]) =
748748

749749
static int included_patches[] =
750750
{ /* Add new patch number below this line */
751+
/**/
752+
1636,
751753
/**/
752754
1635,
753755
/**/

0 commit comments

Comments
 (0)