Mercurial > vim
diff src/structs.h @ 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 | f57481564f2c |
children | e2be5a6485f5 |
line wrap: on
line diff
--- a/src/structs.h +++ b/src/structs.h @@ -1938,6 +1938,7 @@ struct channel_S { #define JO2_ANSI_COLORS 0x8000 // "ansi_colors" #define JO2_TTY_TYPE 0x10000 // "tty_type" #define JO2_BUFNR 0x20000 // "bufnr" +#define JO2_TERM_API 0x40000 // "term_api" #define JO_MODE_ALL (JO_MODE + JO_IN_MODE + JO_OUT_MODE + JO_ERR_MODE) #define JO_CB_ALL \ @@ -2007,6 +2008,8 @@ typedef struct long_u jo_ansi_colors[16]; # endif int jo_tty_type; // first character of "tty_type" + char_u *jo_term_api; + char_u jo_term_api_buf[NUMBUFLEN]; #endif } jobopt_T;