0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 8.2.4497: wrong color for half of wide character next to pum scrollbar

Problem:    Wrong color for half of wide character next to pum scrollbar.
Solution:   Redraw the screen cell with the right color. (closes #9874)
This commit is contained in:
Bram Moolenaar
2022-03-03 11:46:00 +00:00
parent fe9112e630
commit 35d8c2010e
4 changed files with 34 additions and 1 deletions

View File

@@ -1495,8 +1495,9 @@ screen_puts_len(
int textlen,
int row,
int col,
int attr)
int attr_arg)
{
int attr = attr_arg;
unsigned off;
char_u *ptr = text;
int len = textlen;
@@ -1722,8 +1723,10 @@ screen_puts_len(
if (clear_next_cell)
{
// This only happens at the end, display one space next.
// Keep the attribute from before.
ptr = (char_u *)" ";
len = -1;
attr = ScreenAttrs[off];
}
}
else