shell: use msg_outtrans_len_attr for :!cmd

fixes #7830 and #7788
This commit is contained in:
Björn Linse
2018-01-12 08:32:28 +01:00
parent 0851057a8d
commit 2d99b81ab5
4 changed files with 32 additions and 50 deletions

View File

@@ -3148,10 +3148,9 @@ void ex_make(exarg_T *eap)
}
msg_start();
MSG_PUTS(":!");
msg_outtrans((char_u *) cmd); // show what we are doing
msg_outtrans((char_u *)cmd); // show what we are doing
// let the shell know if we are redirecting output or not
do_shell((char_u *) cmd, *p_sp != NUL ? kShellOptDoOut : 0);
do_shell((char_u *)cmd, 0);
res = qf_init(wp, fname, (eap->cmdidx != CMD_make