forked from aniani/vim
patch 8.2.0848: MS-Windows: the Windows terminal code has some flaws
Problem: MS-Windows: the Windows terminal code has some flaws.
Solution: Do not redraw the right edge of the screen. Remove the background
color trick. Flush the screen output buffer often. (Nobuhiro
Takasaki, #5546)
This commit is contained in:
11
src/term.c
11
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
|
||||
|
||||
Reference in New Issue
Block a user