1
0
forked from aniani/vim

patch 8.0.1194: actual fg and bg colors of terminal are unknown

Problem:    Actual fg and bg colors of terminal are unknown.
Solution:   Add t_RF.  Store response to t_RB and t_RF, use for terminal.
This commit is contained in:
Bram Moolenaar
2017-10-14 23:24:25 +02:00
parent b2c8750c4e
commit 65e4c4f686
8 changed files with 147 additions and 35 deletions

View File

@@ -64,6 +64,8 @@ char_u *get_termcode(int i);
void del_termcode(char_u *name);
void set_mouse_topline(win_T *wp);
int check_termcode(int max_offset, char_u *buf, int bufsize, int *buflen);
void term_get_fg_color(uint8_t *r, uint8_t *g, uint8_t *b);
void term_get_bg_color(uint8_t *r, uint8_t *g, uint8_t *b);
char_u *replace_termcodes(char_u *from, char_u **bufp, int from_part, int do_lt, int special);
int find_term_bykeys(char_u *src);
void show_termcodes(void);