diff options
author | luukvbaal <luukvbaal@gmail.com> | 2025-01-22 16:36:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-22 07:36:57 -0800 |
commit | 34344b939c060d36db719f17088639744ca61c94 (patch) | |
tree | 22f2f1147d0cc2ae0a466c3e92f3f788bc0af6b3 /src | |
parent | 22fd52325bf60cadaf24bca328a602764f53d6a9 (diff) | |
download | rneovim-34344b939c060d36db719f17088639744ca61c94.tar.gz rneovim-34344b939c060d36db719f17088639744ca61c94.tar.bz2 rneovim-34344b939c060d36db719f17088639744ca61c94.zip |
fix(editor): avoid scrolling :substitute confirm message #32149
Regression from 48e2a73.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/ex_cmds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 073b9594ed..34217107aa 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -3799,6 +3799,8 @@ static int do_sub(exarg_T *eap, const proftime_T timeout, const int cmdpreview_n typed = prompt_for_input(p, HLF_R, true, NULL); xfree(p); + msg_didout = false; // don't scroll up + gotocmdline(true); p_lz = save_p_lz; RedrawingDisabled = temp; |