Mercurial > vim
comparison src/proto/terminal.pro @ 26193:c83460a14407 v8.2.3628
patch 8.2.3628: looking terminal colors is a bit slow
Commit: https://github.com/vim/vim/commit/87fd0924e2d85213cc111ee7a5122f92216a37c7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 20 13:47:45 2021 +0000
patch 8.2.3628: looking terminal colors is a bit slow
Problem: Looking terminal colors is a bit slow.
Solution: Cache the terminal colors. (closes https://github.com/vim/vim/issues/9130, closes https://github.com/vim/vim/issues/9058)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 20 Nov 2021 15:00:05 +0100 |
parents | 582218dbc6b3 |
children | d25c0b0aad7d |
comparison
equal
deleted
inserted
replaced
26192:e3ce27989e21 | 26193:c83460a14407 |
---|---|
26 void term_update_window(win_T *wp); | 26 void term_update_window(win_T *wp); |
27 int term_is_finished(buf_T *buf); | 27 int term_is_finished(buf_T *buf); |
28 int term_show_buffer(buf_T *buf); | 28 int term_show_buffer(buf_T *buf); |
29 void term_change_in_curbuf(void); | 29 void term_change_in_curbuf(void); |
30 int term_get_attr(win_T *wp, linenr_T lnum, int col); | 30 int term_get_attr(win_T *wp, linenr_T lnum, int col); |
31 void term_update_colors(term_T *term); | 31 void term_reset_wincolor(win_T *wp); |
32 void term_update_wincolor(win_T *wp); | |
33 void term_update_wincolor_all(void); | |
32 void term_update_colors_all(void); | 34 void term_update_colors_all(void); |
33 char_u *term_get_status_text(term_T *term); | 35 char_u *term_get_status_text(term_T *term); |
34 void term_clear_status_text(term_T *term); | 36 void term_clear_status_text(term_T *term); |
35 int set_ref_in_term(int copyID); | 37 int set_ref_in_term(int copyID); |
36 void f_term_dumpwrite(typval_T *argvars, typval_T *rettv); | 38 void f_term_dumpwrite(typval_T *argvars, typval_T *rettv); |