Mercurial > vim
comparison src/proto/terminal.pro @ 24582:1a658c5eb326 v8.2.2830
patch 8.2.2830: terminal colors are not updated when 'background' is set
Commit: https://github.com/vim/vim/commit/ad431995721b2a886f789e2ea7db4c84b732eb18
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 3 20:40:38 2021 +0200
patch 8.2.2830: terminal colors are not updated when 'background' is set
Problem: Terminal colors are not updated when 'background' is set.
Solution: Call term_update_colors() for all terminals. (Marcin Szamotulski,
closes #8171, closes #8150)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 03 May 2021 20:45:04 +0200 |
parents | 4ed106deb772 |
children | 1266292376c7 |
comparison
equal
deleted
inserted
replaced
24581:4cb7be47fa3d | 24582:1a658c5eb326 |
---|---|
17 int terminal_is_active(void); | 17 int terminal_is_active(void); |
18 cursorentry_T *term_get_cursor_shape(guicolor_T *fg, guicolor_T *bg); | 18 cursorentry_T *term_get_cursor_shape(guicolor_T *fg, guicolor_T *bg); |
19 int term_use_loop(void); | 19 int term_use_loop(void); |
20 void term_win_entered(void); | 20 void term_win_entered(void); |
21 int terminal_loop(int blocking); | 21 int terminal_loop(int blocking); |
22 void set_terminal_default_colors(int cterm_fg, int cterm_bg); | |
22 int may_close_term_popup(void); | 23 int may_close_term_popup(void); |
23 void term_channel_closed(channel_T *ch); | 24 void term_channel_closed(channel_T *ch); |
24 void term_check_channel_closed_recently(void); | 25 void term_check_channel_closed_recently(void); |
25 int term_do_update_window(win_T *wp); | 26 int term_do_update_window(win_T *wp); |
26 void term_update_window(win_T *wp); | 27 void term_update_window(win_T *wp); |
27 int term_is_finished(buf_T *buf); | 28 int term_is_finished(buf_T *buf); |
28 int term_show_buffer(buf_T *buf); | 29 int term_show_buffer(buf_T *buf); |
29 void term_change_in_curbuf(void); | 30 void term_change_in_curbuf(void); |
30 int term_get_attr(win_T *wp, linenr_T lnum, int col); | 31 int term_get_attr(win_T *wp, linenr_T lnum, int col); |
31 void term_update_colors(void); | 32 void term_update_colors(term_T *term); |
33 void term_update_colors_all(void); | |
32 char_u *term_get_status_text(term_T *term); | 34 char_u *term_get_status_text(term_T *term); |
33 int set_ref_in_term(int copyID); | 35 int set_ref_in_term(int copyID); |
34 void set_terminal_default_colors(int cterm_fg, int cterm_bg); | |
35 void f_term_dumpwrite(typval_T *argvars, typval_T *rettv); | 36 void f_term_dumpwrite(typval_T *argvars, typval_T *rettv); |
36 int term_swap_diff(void); | 37 int term_swap_diff(void); |
37 void f_term_dumpdiff(typval_T *argvars, typval_T *rettv); | 38 void f_term_dumpdiff(typval_T *argvars, typval_T *rettv); |
38 void f_term_dumpload(typval_T *argvars, typval_T *rettv); | 39 void f_term_dumpload(typval_T *argvars, typval_T *rettv); |
39 void f_term_getaltscreen(typval_T *argvars, typval_T *rettv); | 40 void f_term_getaltscreen(typval_T *argvars, typval_T *rettv); |