summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-29 12:23:39 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-29 12:23:39 +0100
commit309c4e0ed7dcf42011e29976a06e6335f5ae6d1c (patch)
tree5795ac80d9bdc65ea251d50c627a1955b4d43602 /src/ex_cmds.c
parentbf26941f40923d331169a4ecb7341608f5d1ca38 (diff)
patch 9.0.0315: shell command is displayed in message windowv9.0.0315
Problem: Shell command is displayed in message window. Solution: Do not echo the shell command in the message window.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 01518ff64d..96302529cc 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -1011,6 +1011,7 @@ do_bang(
if (addr_count == 0) // :!
{
// echo the command
+ dont_use_message_window();
msg_start();
msg_putchar(':');
msg_putchar('!');