diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-10-14 14:55:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-14 14:55:01 +0800 |
commit | 8ee8112b92425cec6c8b3053e73a858148c3b9fe (patch) | |
tree | 741aa03b9f0d2edc53c210f5b9bebba251c8d9fb /src/nvim/lua/executor.c | |
parent | ce0f80835a5f6febd64f4ce5cf245d476ebaecfd (diff) | |
parent | 13f55750e9bea8ec8f50550546edc64a0f0964d8 (diff) | |
download | rneovim-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/lua/executor.c')
-rw-r--r-- | src/nvim/lua/executor.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/lua/executor.c b/src/nvim/lua/executor.c index d6fd14cc10..3975312703 100644 --- a/src/nvim/lua/executor.c +++ b/src/nvim/lua/executor.c @@ -955,7 +955,9 @@ static void nlua_print_event(void **argv) break; } msg(str + start, 0); - msg_didout = true; // Make blank lines work properly + if (msg_silent == 0) { + msg_didout = true; // Make blank lines work properly + } } if (len && str[len - 1] == NUL) { // Last was newline msg("", 0); |