Hello vim_dev,

Currently, `:silent[!] !cmd` does not redraw the screen after returning
from a shell execution, requiring a manual redraw. A simple patch
follows inline, but IIRC this has been discussed before without a
resolution.

Is there a reason we could not redraw the screen in this case?

    Sung Pae

diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 1abda74..3efe023 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -1500,6 +1500,11 @@ do_shell(cmd, flags)
                redraw_later_clear();
            need_wait_return = FALSE;
        }
+       else if (msg_silent)
+       {
+           redraw_later(CLEAR);
+           need_wait_return = FALSE;
+       }
        else
        {
            /*

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: PGP signature

Raspunde prin e-mail lui