summaryrefslogtreecommitdiffstats
path: root/src/map.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-02-16 18:27:55 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-16 18:27:55 +0000
commitd288eaad846f0e07e0141226f97d858dcf96cb78 (patch)
tree490599437d9eab23429353ddf151ac06fb0a510b /src/map.c
parent646bb7247ad6051aca223a2b04b008f682cdb57f (diff)
patch 8.2.4401: map listing does not clear the rest of the command linev8.2.4401
Problem: Map listing does not clear the rest of the command line. Solution: Call msg_clear_eos(). (closes #5623, closes #5962)
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map.c b/src/map.c
index e45ea757e9..b681d2ff2b 100644
--- a/src/map.c
+++ b/src/map.c
@@ -204,6 +204,7 @@ showmap(
if (p_verbose > 0)
last_set_msg(mp->m_script_ctx);
#endif
+ msg_clr_eos();
out_flush(); // show one line at a time
}