diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-02-17 07:18:10 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-02-17 08:45:15 +0800 |
commit | a92046e43ff22a04d9ca0d861937463f6e262d38 (patch) | |
tree | 1b2c9326200a93cd702b42eb4452a0e124076c4b /src/nvim/getchar.c | |
parent | 80a3018a09c1dbfdaa195b25502588dc72c2e186 (diff) | |
download | rneovim-a92046e43ff22a04d9ca0d861937463f6e262d38.tar.gz rneovim-a92046e43ff22a04d9ca0d861937463f6e262d38.tar.bz2 rneovim-a92046e43ff22a04d9ca0d861937463f6e262d38.zip |
vim-patch:8.2.4401: map listing does not clear the rest of the command line
Problem: Map listing does not clear the rest of the command line.
Solution: Call msg_clear_eos(). (closes vim/vim#5623, closes vim/vim#5962)
https://github.com/vim/vim/commit/d288eaad846f0e07e0141226f97d858dcf96cb78
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r-- | src/nvim/getchar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index 43a4f31478..77e42d7471 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -3519,6 +3519,7 @@ static void showmap(mapblock_T *mp, bool local) if (p_verbose > 0) { last_set_msg(mp->m_script_ctx); } + msg_clr_eos(); ui_flush(); // show one line at a time } |