diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-05-03 20:40:38 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-05-03 20:40:38 +0200 |
commit | ad431995721b2a886f789e2ea7db4c84b732eb18 (patch) | |
tree | cf5e87b996a15e384095f2163f1d32ce04bc682b /src/proto/terminal.pro | |
parent | df36514a6455342e178af693553ef9df9fcf8c83 (diff) | |
download | vim-git-ad431995721b2a886f789e2ea7db4c84b732eb18.tar.gz |
patch 8.2.2830: terminal colors are not updated when 'background' is setv8.2.2830
Problem: Terminal colors are not updated when 'background' is set.
Solution: Call term_update_colors() for all terminals. (Marcin Szamotulski,
closes #8171, closes #8150)
Diffstat (limited to 'src/proto/terminal.pro')
-rw-r--r-- | src/proto/terminal.pro | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro index f3bd5a31c..d2e599256 100644 --- a/src/proto/terminal.pro +++ b/src/proto/terminal.pro @@ -19,6 +19,7 @@ cursorentry_T *term_get_cursor_shape(guicolor_T *fg, guicolor_T *bg); int term_use_loop(void); void term_win_entered(void); int terminal_loop(int blocking); +void set_terminal_default_colors(int cterm_fg, int cterm_bg); int may_close_term_popup(void); void term_channel_closed(channel_T *ch); void term_check_channel_closed_recently(void); @@ -28,10 +29,10 @@ int term_is_finished(buf_T *buf); int term_show_buffer(buf_T *buf); void term_change_in_curbuf(void); int term_get_attr(win_T *wp, linenr_T lnum, int col); -void term_update_colors(void); +void term_update_colors(term_T *term); +void term_update_colors_all(void); 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_dumpwrite(typval_T *argvars, typval_T *rettv); int term_swap_diff(void); void f_term_dumpdiff(typval_T *argvars, typval_T *rettv); |