1
0
forked from aniani/vim

patch 8.0.1097: background color wrong if job changes background color

Problem:    Background color wrong if job changes background color.
Solution:   Get the background color from vterm.
This commit is contained in:
Bram Moolenaar
2017-09-11 23:05:44 +02:00
parent 238d43b328
commit 49a613f84a
3 changed files with 59 additions and 16 deletions

View File

@@ -3257,7 +3257,7 @@ win_line(
{
extra_check = TRUE;
get_term_attr = TRUE;
term_attr = term_get_attr(wp->w_buffer, 0, 0);
term_attr = term_get_attr(wp->w_buffer, lnum, -1);
}
#endif