diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-26 23:08:54 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-26 23:08:54 +0200 |
commit | d2842ea60bd608b7f9ec93c77d3f36a8e3bf5fe9 (patch) | |
tree | d10208c36706ae29c65fba43fbf02aeced49eccd /src/evalfunc.c | |
parent | d2c1fb476d5816db129eb428ffef6a81027eb13a (diff) |
patch 8.1.2080: the terminal API is limited and can't be disabledv8.1.2080
Problem: The terminal API is limited and can't be disabled.
Solution: Add term_setapi() to set the function prefix. (Ozaki Kiichi,
closes #2907)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 04e1313916..c9d9287548 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -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}, |