diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-26 19:50:44 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-26 19:50:44 +0100 |
commit | 1190139ed01c27539615beea9559a88b2551daf3 (patch) | |
tree | 4eb03f499df113cee60feeb0d27fa46bec85b6df /src/misc2.c | |
parent | 2cb4a89797477fc90c9d84b0d45e869369e39c75 (diff) | |
download | vim-git-1190139ed01c27539615beea9559a88b2551daf3.tar.gz |
patch 9.0.0595: extra newline in messages after a verbose shell messagev9.0.0595
Problem: Extra newline in messages after a verbose shell message.
Solution: Output the newline with msg_putchar_attr(). (closes #11233)
Make it possible to filter a screendump before comparing it.
Diffstat (limited to 'src/misc2.c')
-rw-r--r-- | src/misc2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc2.c b/src/misc2.c index 841940225..5d36cc152 100644 --- a/src/misc2.c +++ b/src/misc2.c @@ -1795,7 +1795,7 @@ call_shell(char_u *cmd, int opt) { verbose_enter(); smsg(_("Calling shell to execute: \"%s\""), cmd == NULL ? p_sh : cmd); - out_char('\n'); + msg_putchar_attr('\n', 0); cursor_on(); verbose_leave(); } |