Mercurial > vim
comparison src/evalfunc.c @ 18170:4ac8161e92e0 v8.1.2080
patch 8.1.2080: the terminal API is limited and can't be disabled
Commit: https://github.com/vim/vim/commit/d2842ea60bd608b7f9ec93c77d3f36a8e3bf5fe9
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 26 23:08:54 2019 +0200
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 26 Sep 2019 23:15:05 +0200 |
parents | e59ff7b5d7a7 |
children | e0ec4cd7a865 |
comparison
equal
deleted
inserted
replaced
18169:6ad8949a205d | 18170:4ac8161e92e0 |
---|---|
785 {"term_scrape", 2, 2, FEARG_1, f_term_scrape}, | 785 {"term_scrape", 2, 2, FEARG_1, f_term_scrape}, |
786 {"term_sendkeys", 2, 2, FEARG_1, f_term_sendkeys}, | 786 {"term_sendkeys", 2, 2, FEARG_1, f_term_sendkeys}, |
787 # if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) | 787 # if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) |
788 {"term_setansicolors", 2, 2, FEARG_1, f_term_setansicolors}, | 788 {"term_setansicolors", 2, 2, FEARG_1, f_term_setansicolors}, |
789 # endif | 789 # endif |
790 {"term_setapi", 2, 2, FEARG_1, f_term_setapi}, | |
790 {"term_setkill", 2, 2, FEARG_1, f_term_setkill}, | 791 {"term_setkill", 2, 2, FEARG_1, f_term_setkill}, |
791 {"term_setrestore", 2, 2, FEARG_1, f_term_setrestore}, | 792 {"term_setrestore", 2, 2, FEARG_1, f_term_setrestore}, |
792 {"term_setsize", 3, 3, FEARG_1, f_term_setsize}, | 793 {"term_setsize", 3, 3, FEARG_1, f_term_setsize}, |
793 {"term_start", 1, 2, FEARG_1, f_term_start}, | 794 {"term_start", 1, 2, FEARG_1, f_term_start}, |
794 {"term_wait", 1, 2, FEARG_1, f_term_wait}, | 795 {"term_wait", 1, 2, FEARG_1, f_term_wait}, |