comparison src/getchar.c @ 12865:ebb4f6c93598 v8.0.1309

patch 8.0.1309: cannot use 'balloonexpr' in a terminal commit https://github.com/vim/vim/commit/51b0f3701ecb440aa72ab6017c1df6940c0e0f6f Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 18 18:52:04 2017 +0100 patch 8.0.1309: cannot use 'balloonexpr' in a terminal Problem: Cannot use 'balloonexpr' in a terminal. Solution: Add 'balloonevalterm' and add code to handle mouse movements in a terminal. Initial implementation for Unix with GUI.
author Christian Brabandt <cb@256bit.org>
date Sat, 18 Nov 2017 19:00:06 +0100
parents 351cf7c67bbe
children 1a450ce6980c
comparison
equal deleted inserted replaced
12864:e98532b79dba 12865:ebb4f6c93598
1789 * In the main loop "may_garbage_collect" can be set to do garbage 1789 * In the main loop "may_garbage_collect" can be set to do garbage
1790 * collection in the first next vgetc(). It's disabled after that to 1790 * collection in the first next vgetc(). It's disabled after that to
1791 * avoid internally used Lists and Dicts to be freed. 1791 * avoid internally used Lists and Dicts to be freed.
1792 */ 1792 */
1793 may_garbage_collect = FALSE; 1793 may_garbage_collect = FALSE;
1794 #endif
1795 #ifdef FEAT_BEVALTERM
1796 if (c != K_MOUSEMOVE && c != K_IGNORE)
1797 {
1798 /* Don't trigger 'balloonexpr' unless only the mouse was moved. */
1799 bevalexpr_due_set = FALSE;
1800 ui_remove_balloon();
1801 }
1794 #endif 1802 #endif
1795 1803
1796 return c; 1804 return c;
1797 } 1805 }
1798 1806