commit | 87fd0924e2d85213cc111ee7a5122f92216a37c7 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Nov 20 13:47:45 2021 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Nov 20 13:47:45 2021 +0000 |
tree | f2338c0fc69e65e11e66590514a2b6eb40e2e26d | |
parent | cdf5fdb2948ecdd24c6a1e27ed33dfa847c2b3e4 [diff] [blame] |
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)
diff --git a/src/option.c b/src/option.c index 4f080a3..b807b9b 100644 --- a/src/option.c +++ b/src/option.c
@@ -3259,6 +3259,10 @@ init_highlight(TRUE, FALSE); } # endif +# ifdef FEAT_TERMINAL + term_update_colors_all(); + term_update_wincolor_all(); +# endif } #endif