commit | ee1deb4a00f39f133558321ec535354497f490c8 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Jul 08 23:06:21 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Jul 08 23:06:21 2016 +0200 |
tree | e44670b0f6617e525eb118a36e9c5f362b134ecd | |
parent | 65549bdef5805ba5a18a3d2d3909998dd7d9ed46 [diff] [blame] |
patch 7.4.2005 Problem: After using evalcmd() message output is in the wrong position. (Christian Brabandt) Solution: Reset msg_col.
diff --git a/src/eval.c b/src/eval.c index a51225d..4764f49 100644 --- a/src/eval.c +++ b/src/eval.c
@@ -11397,6 +11397,10 @@ redir_evalcmd = save_redir_evalcmd; if (redir_evalcmd) redir_evalcmd_ga = save_ga; + + /* "silent reg" or "silent echo x" leaves msg_col somewhere in the + * line. Put it back in the first column. */ + msg_col = 0; } }