From c2f5054be9301c8a47b92a4584338cb2de24b96c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 5 Jul 2019 23:24:56 +0200 Subject: patch 8.1.1640: the CursorHold autocommand takes down a balloon Problem: The CursorHold autocommand takes down a balloon. (Paul Jolly) Solution: Ignore the CursorHold pseudo-key. --- src/getchar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/getchar.c') 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; -- cgit v1.2.3