0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.4906: MS-Windows: cannot use transparent background

Problem:    MS-Windows: cannot use transparent background.
Solution:   Make transparent background work with 'termguicolors' and NONE
            background color. (Yasuhiro Matsumoto, closes #10310, closes #7162)
This commit is contained in:
Yasuhiro Matsumoto
2022-05-07 14:09:19 +01:00
committed by Bram Moolenaar
parent 3f1cfcb864
commit aa04e1b0be
4 changed files with 17 additions and 10 deletions

View File

@@ -3084,7 +3084,8 @@ term_fg_rgb_color(guicolor_T rgb)
void
term_bg_rgb_color(guicolor_T rgb)
{
term_rgb_color(T_8B, rgb);
if (rgb != INVALCOLOR)
term_rgb_color(T_8B, rgb);
}
void