updated for version 7.0167
diff --git a/src/main.c b/src/main.c
index 19bdb09..bd40c6c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3492,6 +3492,15 @@
     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;
 }