From 33a5dd8b237738c15cae87441d731ab899b4e846 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 28 Aug 2022 22:17:50 +0100 Subject: 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. --- src/memline.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/memline.c') 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 \"")); -- cgit v1.2.3