summaryrefslogtreecommitdiffstats
path: root/src/memline.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-28 22:17:50 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-28 22:17:50 +0100
commit33a5dd8b237738c15cae87441d731ab899b4e846 (patch)
treed186bc7e0f4a34428a69365342fcde7e97742a82 /src/memline.c
parent134b86553c12c46e0ae7d534f6fe65e8ba2d50bc (diff)
patch 9.0.0308: when cmdheight is zero the attention prompt doesn't showv9.0.0308
Problem: When cmdheight is zero the attention prompt doesn't show. Solution: Do not use the message window for a prompt.
Diffstat (limited to 'src/memline.c')
-rw-r--r--src/memline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/memline.c b/src/memline.c
index a495636778..391121320b 100644
--- a/src/memline.c
+++ b/src/memline.c
@@ -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 \""));