summaryrefslogtreecommitdiffstats
path: root/src/proto/term.pro
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2023-09-29 20:17:20 +0200
committerChristian Brabandt <cb@256bit.org>2023-09-29 20:17:20 +0200
commit3695d0e41ba26db074dd5680564a6f87d522fb61 (patch)
tree4e7a0cc8868eda94d01428a7d4bf0be4aa0b7d5b /src/proto/term.pro
parent28a23602e8f88937645b8506b7915ecea6e09b18 (diff)
patch 9.0.1957: termcap options should change when setting keyprotocolv9.0.1957
Problem: termcap options should change on keyprotocol setting Solution: Apply termcap entries when 'keyprotocol' changes When the 'keyprotocol' option was set after startup (including in a user's .vimrc) the termcap entries associated with the matching protocol were not applied. Thus, setting the option has no affect. When 'keyprotocol' is changed it should also update the termcap entries. closes: #13211 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Gregory Anders <greg@gpanders.com>
Diffstat (limited to 'src/proto/term.pro')
-rw-r--r--src/proto/term.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/term.pro b/src/proto/term.pro
index 4150cbe000..e95befef5c 100644
--- a/src/proto/term.pro
+++ b/src/proto/term.pro
@@ -5,6 +5,7 @@ void init_term_props(int all);
void f_terminalprops(typval_T *argvars, typval_T *rettv);
void set_color_count(int nr);
keyprot_T match_keyprotocol(char_u *term);
+void apply_keyprotocol(char_u *term, keyprot_T prot);
int set_termname(char_u *term);
void free_cur_term(void);
void getlinecol(long *cp, long *rp);