summaryrefslogtreecommitdiffstats
path: root/src/proto/terminal.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-12-01 21:07:20 +0100
committerBram Moolenaar <Bram@vim.org>2017-12-01 21:07:20 +0100
commita7c54cfcf825e8e99db03f4ccdb1a32cd0714c52 (patch)
tree2967da1b4011b77a7ea95da8d06f539dd675c7e7 /src/proto/terminal.pro
parent97ce419201421f65f4764549ed80307a7ef9c7a6 (diff)
patch 8.0.1362: terminal window colors wrong when using Terminal highlightingv8.0.1362
Problem: Terminal window colors wrong when using Terminal highlighting. Solution: Set ansi_index when setting the default color. Also cache the color index for Terminal. (Ozaki Kiichi, closes #2393)
Diffstat (limited to 'src/proto/terminal.pro')
-rw-r--r--src/proto/terminal.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro
index 7f64b90069..4b39daa14e 100644
--- a/src/proto/terminal.pro
+++ b/src/proto/terminal.pro
@@ -20,6 +20,7 @@ void term_change_in_curbuf(void);
int term_get_attr(buf_T *buf, linenr_T lnum, int col);
char_u *term_get_status_text(term_T *term);
int set_ref_in_term(int copyID);
+void set_terminal_default_colors(int cterm_fg, int cterm_bg);
void f_term_getaltscreen(typval_T *argvars, typval_T *rettv);
void f_term_getattr(typval_T *argvars, typval_T *rettv);
void f_term_getcursor(typval_T *argvars, typval_T *rettv);