commit | 33a5dd8b237738c15cae87441d731ab899b4e846 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Aug 28 22:17:50 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Aug 28 22:17:50 2022 +0100 |
tree | d186bc7e0f4a34428a69365342fcde7e97742a82 | |
parent | 134b86553c12c46e0ae7d534f6fe65e8ba2d50bc [diff] [blame] |
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.
diff --git a/src/memline.c b/src/memline.c index a495636..3911213 100644 --- a/src/memline.c +++ b/src/memline.c
@@ -4640,6 +4640,7 @@ 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 \""));