forked from aniani/vim
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.
This commit is contained in:
@@ -1410,7 +1410,7 @@ f_atan2(typval_T *argvars, typval_T *rettv)
|
||||
f_balloon_show(typval_T *argvars, typval_T *rettv UNUSED)
|
||||
{
|
||||
if (balloonEval != NULL)
|
||||
gui_mch_post_balloon(balloonEval, get_tv_string_chk(&argvars[0]));
|
||||
post_balloon(balloonEval, get_tv_string_chk(&argvars[0]));
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -5589,6 +5589,9 @@ f_has(typval_T *argvars, typval_T *rettv)
|
||||
"balloon_multiline",
|
||||
# endif
|
||||
#endif
|
||||
#ifdef FEAT_BEVALTERM
|
||||
"balloon_eval_term",
|
||||
#endif
|
||||
#if defined(SOME_BUILTIN_TCAPS) || defined(ALL_BUILTIN_TCAPS)
|
||||
"builtin_terms",
|
||||
# ifdef ALL_BUILTIN_TCAPS
|
||||
|
||||
Reference in New Issue
Block a user