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:
@@ -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
|
||||
|
Reference in New Issue
Block a user