0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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 #9130, closes #9058)
This commit is contained in:
Bram Moolenaar
2021-11-20 13:47:45 +00:00
parent cdf5fdb294
commit 87fd0924e2
43 changed files with 1056 additions and 212 deletions

View File

@@ -3258,6 +3258,10 @@ set_bool_option(
set_termname(T_NAME);
init_highlight(TRUE, FALSE);
}
# endif
# ifdef FEAT_TERMINAL
term_update_colors_all();
term_update_wincolor_all();
# endif
}
#endif