mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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.
This commit is contained in:
@@ -1469,7 +1469,7 @@ WaitForChar(long msec, int ignore_input)
|
||||
dwWaitTime = 10;
|
||||
}
|
||||
#endif
|
||||
#ifdef FEAT_BEVAL
|
||||
#ifdef FEAT_BEVAL_GUI
|
||||
if (p_beval && dwWaitTime > 100)
|
||||
/* The 'balloonexpr' may indirectly invoke a callback while
|
||||
* waiting for a character, need to check often. */
|
||||
|
Reference in New Issue
Block a user