diff options
Diffstat (limited to 'src/getchar.c')
-rw-r--r-- | src/getchar.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/getchar.c b/src/getchar.c index 455c013884..2e91c24c1a 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -1792,6 +1792,14 @@ vgetc(void) */ may_garbage_collect = FALSE; #endif +#ifdef FEAT_BEVALTERM + if (c != K_MOUSEMOVE && c != K_IGNORE) + { + /* Don't trigger 'balloonexpr' unless only the mouse was moved. */ + bevalexpr_due_set = FALSE; + ui_remove_balloon(); + } +#endif return c; } |