diff options
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c index 588058941..d774ebc98 100644 --- a/src/term.c +++ b/src/term.c @@ -2956,7 +2956,16 @@ term_rgb_color(char_u *s, guicolor_T rgb) vim_snprintf(buf, MAX_COLOR_STR_LEN, (char *)s, RED(rgb), GREEN(rgb), BLUE(rgb)); - OUT_STR(buf); +#ifdef FEAT_VTP + if (use_wt()) + { + out_flush(); + buf[1] = '['; + vtp_printf(buf); + } + else +#endif + OUT_STR(buf); } void |