diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-07-23 16:45:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-07-23 16:45:10 +0200 |
commit | 26af85d97ba1ed0ade6cdd41890ca04ed879b9c7 (patch) | |
tree | c34204de31a63785f2801279402fee3fc84ee9b2 /src/proto/term.pro | |
parent | eeac67788677a9ea81bcab69f81b4fc22c2adc00 (diff) | |
download | vim-git-26af85d97ba1ed0ade6cdd41890ca04ed879b9c7.tar.gz |
patch 8.0.0755: terminal window does not have colors in the GUIv8.0.0755
Problem: Terminal window does not have colors in the GUI.
Solution: Lookup the GUI color.
Diffstat (limited to 'src/proto/term.pro')
-rw-r--r-- | src/proto/term.pro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proto/term.pro b/src/proto/term.pro index 9af725ff8..57188e1da 100644 --- a/src/proto/term.pro +++ b/src/proto/term.pro @@ -24,7 +24,7 @@ void term_append_lines(int line_count); void term_delete_lines(int line_count); void term_set_winpos(int x, int y); int term_get_winpos(int *x, int *y); -void term_set_winsize(int width, int height); +void term_set_winsize(int height, int width); void term_fg_color(int n); void term_bg_color(int n); void term_fg_rgb_color(guicolor_T rgb); @@ -68,4 +68,5 @@ int show_one_termcode(char_u *name, char_u *code, int printit); char_u *translate_mapping(char_u *str, int expmap); void update_tcap(int attr); guicolor_T gui_get_color_cmn(char_u *name); +guicolor_T gui_get_rgb_color_cmn(int r, int g, int b); /* vim: set ft=c : */ |