comparison src/proto/term.pro @ 32736:161ae1985d81 v9.0.1687

patch 9.0.1687: mapset() not properly handling script ID Commit: https://github.com/vim/vim/commit/7e0bae024d4c1673cff31763227ad52b936fa56f Author: zeertzjq <zeertzjq@outlook.com> Date: Fri Aug 11 23:15:38 2023 +0200 patch 9.0.1687: mapset() not properly handling script ID Problem: mapset() not properly handling script ID Solution: replace_termcodes() may accept a script ID closes: #12699 closes: #12697 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author Christian Brabandt <cb@256bit.org>
date Fri, 11 Aug 2023 23:30:03 +0200
parents 9dc48932db8e
children 23a824d80de3
comparison
equal deleted inserted replaced
32735:3046c7ce2469 32736:161ae1985d81
83 int put_string_in_typebuf(int offset, int slen, char_u *string, int new_slen, char_u *buf, int bufsize, int *buflen); 83 int put_string_in_typebuf(int offset, int slen, char_u *string, int new_slen, char_u *buf, int bufsize, int *buflen);
84 int decode_modifiers(int n); 84 int decode_modifiers(int n);
85 int check_termcode(int max_offset, char_u *buf, int bufsize, int *buflen); 85 int check_termcode(int max_offset, char_u *buf, int bufsize, int *buflen);
86 void term_get_fg_color(char_u *r, char_u *g, char_u *b); 86 void term_get_fg_color(char_u *r, char_u *g, char_u *b);
87 void term_get_bg_color(char_u *r, char_u *g, char_u *b); 87 void term_get_bg_color(char_u *r, char_u *g, char_u *b);
88 char_u *replace_termcodes(char_u *from, char_u **bufp, int flags, int *did_simplify); 88 char_u *replace_termcodes(char_u *from, char_u **bufp, scid_T sid_arg, int flags, int *did_simplify);
89 void show_termcodes(int flags); 89 void show_termcodes(int flags);
90 int show_one_termcode(char_u *name, char_u *code, int printit); 90 int show_one_termcode(char_u *name, char_u *code, int printit);
91 void update_tcap(int attr); 91 void update_tcap(int attr);
92 void swap_tcap(void); 92 void swap_tcap(void);
93 void ansi_color2rgb(int nr, char_u *r, char_u *g, char_u *b, char_u *ansi_idx); 93 void ansi_color2rgb(int nr, char_u *r, char_u *g, char_u *b, char_u *ansi_idx);