Mercurial > vim
comparison src/os_win32.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 | 17c257dd2438 |
children | 32531a3eab1f |
comparison
equal
deleted
inserted
replaced
12870:0469872186f5 | 12871:1a450ce6980c |
---|---|
1467 * and we should call it again soon. */ | 1467 * and we should call it again soon. */ |
1468 if (channel_any_readahead()) | 1468 if (channel_any_readahead()) |
1469 dwWaitTime = 10; | 1469 dwWaitTime = 10; |
1470 } | 1470 } |
1471 #endif | 1471 #endif |
1472 #ifdef FEAT_BEVAL | 1472 #ifdef FEAT_BEVAL_GUI |
1473 if (p_beval && dwWaitTime > 100) | 1473 if (p_beval && dwWaitTime > 100) |
1474 /* The 'balloonexpr' may indirectly invoke a callback while | 1474 /* The 'balloonexpr' may indirectly invoke a callback while |
1475 * waiting for a character, need to check often. */ | 1475 * waiting for a character, need to check often. */ |
1476 dwWaitTime = 100; | 1476 dwWaitTime = 100; |
1477 #endif | 1477 #endif |