forked from aniani/vim
patch 9.0.1235: MS-Windows console: not flushing termguicolors
Problem: MS-Windows console: not flushing termguicolors. Solution: Flush termguicolors. (Christopher Plewright, closes #11871)
This commit is contained in:
committed by
Bram Moolenaar
parent
ebfec1c531
commit
dc7179f9a4
@@ -3222,7 +3222,7 @@ term_rgb_color(char_u *s, guicolor_T rgb)
|
||||
vim_snprintf(buf, MAX_COLOR_STR_LEN,
|
||||
(char *)s, RED(rgb), GREEN(rgb), BLUE(rgb));
|
||||
#ifdef FEAT_VTP
|
||||
if (use_wt())
|
||||
if (use_vtp() && (p_tgc || t_colors >= 256))
|
||||
{
|
||||
out_flush();
|
||||
buf[1] = '[';
|
||||
|
Reference in New Issue
Block a user