summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-07-05 23:24:56 +0200
committerBram Moolenaar <Bram@vim.org>2019-07-05 23:24:56 +0200
commitc2f5054be9301c8a47b92a4584338cb2de24b96c (patch)
tree55dba620959da6fdf7485c5039590dbeda66eb2a /src/getchar.c
parent28fc247f8d94a1cfabbcf2691ca942bde96f6d2f (diff)
patch 8.1.1640: the CursorHold autocommand takes down a balloonv8.1.1640
Problem: The CursorHold autocommand takes down a balloon. (Paul Jolly) Solution: Ignore the CursorHold pseudo-key.
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c
index f6734a79a6..e0c8fdad73 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -1794,7 +1794,7 @@ vgetc(void)
may_garbage_collect = FALSE;
#endif
#ifdef FEAT_BEVAL_TERM
- if (c != K_MOUSEMOVE && c != K_IGNORE)
+ if (c != K_MOUSEMOVE && c != K_IGNORE && c != K_CURSORHOLD)
{
/* Don't trigger 'balloonexpr' unless only the mouse was moved. */
bevalexpr_due_set = FALSE;