diff options
author | Shougo <Shougo.Matsu@gmail.com> | 2022-06-13 18:40:51 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-13 02:40:51 -0700 |
commit | 663cbe2620278eae658895f82f3eb9bc89310e73 (patch) | |
tree | 84708a2e6743eda4c351ffd311885039137b7b79 /src/nvim/ops.c | |
parent | 2f71d4708e997454a0d05d51122a56146b89af92 (diff) | |
download | rneovim-663cbe2620278eae658895f82f3eb9bc89310e73.tar.gz rneovim-663cbe2620278eae658895f82f3eb9bc89310e73.tar.bz2 rneovim-663cbe2620278eae658895f82f3eb9bc89310e73.zip |
feat: cmdheight=0 #16251
Fix https://github.com/neovim/neovim/issues/1004
Limitation: All outputs need hit-enter prompt.
Related:
https://github.com/neovim/neovim/pull/6732
https://github.com/neovim/neovim/pull/4382
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 7dcf4c433e..0f202b2fd3 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -6041,6 +6041,10 @@ void cursor_pos_info(dict_T *dict) // Don't shorten this message, the user asked for it. p = p_shm; p_shm = (char_u *)""; + if (p_ch < 1) { + msg_start(); + msg_scroll = true; + } msg((char *)IObuff); p_shm = p; } |