summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-12-11 21:36:39 +0000
committerBram Moolenaar <Bram@vim.org>2005-12-11 21:36:39 +0000
commit63a121b750c186db52de3d3ffbe016b89df8970b (patch)
treebcd140852b4e38be7722daa58a1a79c8563b0474 /src/main.c
parentb348038631bb7cf318c56c19bf3ccae87e525687 (diff)
downloadvim-git-7.0167.tar.gz
updated for version 7.0167v7.0167
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 19bdb09e1..bd40c6c7a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3492,6 +3492,15 @@ eval_client_expr_to_string(expr)
redir_off = save_ro;
--emsg_skip;
+ /* A client can tell us to redraw, but not to display the cursor, so do
+ * that here. */
+ setcursor();
+ out_flush();
+#ifdef FEAT_GUI
+ if (gui.in_use)
+ gui_update_cursor(FALSE, FALSE);
+#endif
+
return res;
}