Mercurial > vim
comparison src/getchar.c @ 12871:1a450ce6980c v8.0.1312
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
commit https://github.com/vim/vim/commit/c3719bd87beca9f72d2e9f11e36d561c2c3b57b0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 18 22:13:31 2017 +0100
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
Problem: balloon_show() only works in terminal when compiled with the GUI.
Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI
specific file.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 18 Nov 2017 22:15:05 +0100 |
parents | ebb4f6c93598 |
children | 85a601f985ab |
comparison
equal
deleted
inserted
replaced
12870:0469872186f5 | 12871:1a450ce6980c |
---|---|
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 | 1794 #endif |
1795 #ifdef FEAT_BEVALTERM | 1795 #ifdef FEAT_BEVAL_TERM |
1796 if (c != K_MOUSEMOVE && c != K_IGNORE) | 1796 if (c != K_MOUSEMOVE && c != K_IGNORE) |
1797 { | 1797 { |
1798 /* Don't trigger 'balloonexpr' unless only the mouse was moved. */ | 1798 /* Don't trigger 'balloonexpr' unless only the mouse was moved. */ |
1799 bevalexpr_due_set = FALSE; | 1799 bevalexpr_due_set = FALSE; |
1800 ui_remove_balloon(); | 1800 ui_remove_balloon(); |