Hi there,
2017-4-21(Fri) 15:00:13 UTC+9 Christian Brabandt:
> Reopened #1637.
Confirm an attached patch.
--
Best regards,
Hirohito Higashi (h_east)
--
--
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.
diff --git a/src/getchar.c b/src/getchar.c
index 18af2a3..c5a44f6 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -2911,10 +2911,19 @@ vgetorpeek(int advance)
showmode();
}
}
+
#ifdef FEAT_GUI
- /* may unshow different cursor shape */
- if (gui.in_use && shape_changed)
- gui_update_cursor(TRUE, FALSE);
+ if (gui.in_use)
+ {
+ if (cmd_silent)
+ gui_dont_update_cursor(TRUE);
+ else
+ gui_can_update_cursor();
+
+ /* may unshow different cursor shape */
+ if (shape_changed)
+ gui_update_cursor(TRUE, FALSE);
+ }
#endif
--vgetc_busy;