Mercurial > vim
comparison src/proto/term.pro @ 12632:b1a7e3968a31 v8.0.1194
patch 8.0.1194: actual fg and bg colors of terminal are unknown
commit https://github.com/vim/vim/commit/65e4c4f6868882a380c319632a1728a5e7d274ad
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 14 23:24:25 2017 +0200
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 14 Oct 2017 23:30:05 +0200 |
parents | 48eac9bc2f82 |
children | a715f0b44532 |
comparison
equal
deleted
inserted
replaced
12631:3e8f6b06e414 | 12632:b1a7e3968a31 |
---|---|
62 char_u *find_termcode(char_u *name); | 62 char_u *find_termcode(char_u *name); |
63 char_u *get_termcode(int i); | 63 char_u *get_termcode(int i); |
64 void del_termcode(char_u *name); | 64 void del_termcode(char_u *name); |
65 void set_mouse_topline(win_T *wp); | 65 void set_mouse_topline(win_T *wp); |
66 int check_termcode(int max_offset, char_u *buf, int bufsize, int *buflen); | 66 int check_termcode(int max_offset, char_u *buf, int bufsize, int *buflen); |
67 void term_get_fg_color(uint8_t *r, uint8_t *g, uint8_t *b); | |
68 void term_get_bg_color(uint8_t *r, uint8_t *g, uint8_t *b); | |
67 char_u *replace_termcodes(char_u *from, char_u **bufp, int from_part, int do_lt, int special); | 69 char_u *replace_termcodes(char_u *from, char_u **bufp, int from_part, int do_lt, int special); |
68 int find_term_bykeys(char_u *src); | 70 int find_term_bykeys(char_u *src); |
69 void show_termcodes(void); | 71 void show_termcodes(void); |
70 int show_one_termcode(char_u *name, char_u *code, int printit); | 72 int show_one_termcode(char_u *name, char_u *code, int printit); |
71 char_u *translate_mapping(char_u *str, int expmap); | 73 char_u *translate_mapping(char_u *str, int expmap); |