mirror of
https://github.com/vim/vim.git
synced 2025-10-13 06:54:15 -04:00
patch 8.1.2080: the terminal API is limited and can't be disabled
Problem: The terminal API is limited and can't be disabled. Solution: Add term_setapi() to set the function prefix. (Ozaki Kiichi, closes #2907)
This commit is contained in:
@@ -787,6 +787,7 @@ static funcentry_T global_functions[] =
|
||||
# if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS)
|
||||
{"term_setansicolors", 2, 2, FEARG_1, f_term_setansicolors},
|
||||
# endif
|
||||
{"term_setapi", 2, 2, FEARG_1, f_term_setapi},
|
||||
{"term_setkill", 2, 2, FEARG_1, f_term_setkill},
|
||||
{"term_setrestore", 2, 2, FEARG_1, f_term_setrestore},
|
||||
{"term_setsize", 3, 3, FEARG_1, f_term_setsize},
|
||||
|
Reference in New Issue
Block a user