Mercurial > vim
diff src/getchar.c @ 17282:6f1679e1082d v8.1.1640
patch 8.1.1640: the CursorHold autocommand takes down a balloon
commit https://github.com/vim/vim/commit/c2f5054be9301c8a47b92a4584338cb2de24b96c
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 5 23:24:56 2019 +0200
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 05 Jul 2019 23:30:06 +0200 |
parents | a5c3d374e1d3 |
children | e17cbc3e545d |
line wrap: on
line diff
--- 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;