aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-10-14 14:55:01 +0800
committerGitHub <noreply@github.com>2023-10-14 14:55:01 +0800
commit8ee8112b92425cec6c8b3053e73a858148c3b9fe (patch)
tree741aa03b9f0d2edc53c210f5b9bebba251c8d9fb /src/nvim/ex_cmds.c
parentce0f80835a5f6febd64f4ce5cf245d476ebaecfd (diff)
parent13f55750e9bea8ec8f50550546edc64a0f0964d8 (diff)
downloadrneovim-8ee8112b92425cec6c8b3053e73a858148c3b9fe.tar.gz
rneovim-8ee8112b92425cec6c8b3053e73a858148c3b9fe.tar.bz2
rneovim-8ee8112b92425cec6c8b3053e73a858148c3b9fe.zip
Merge pull request #25630 from nwounkn/fix-extra-line
fix(ui): empty line before the next message after :silent command
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index e9a42ae508..5ec4353e1d 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -1346,7 +1346,9 @@ void do_shell(char *cmd, int flags)
// 1" command to the terminal.
ui_cursor_goto(msg_row, msg_col);
(void)call_shell(cmd, (ShellOpts)flags, NULL);
- msg_didout = true;
+ if (msg_silent == 0) {
+ msg_didout = true;
+ }
did_check_timestamps = false;
need_check_timestamps = true;