patch 9.0.0308: when cmdheight is zero the attention prompt doesn't show

Problem:    When cmdheight is zero the attention prompt doesn't show.
Solution:   Do not use the message window for a prompt.
This commit is contained in:
Bram Moolenaar
2022-08-28 22:17:50 +01:00
parent 134b86553c
commit 33a5dd8b23
4 changed files with 18 additions and 0 deletions

View File

@ -4640,6 +4640,7 @@ attention_message(
stat_T st;
time_t swap_mtime;
dont_use_message_window();
++no_wait_return;
(void)emsg(_(e_attention));
msg_puts(_("\nFound a swap file by the name \""));