From 49a613f84aaa7cccd1d12a2ffc4ebb1956f973aa Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 11 Sep 2017 23:05:44 +0200 Subject: 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. --- src/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/screen.c') diff --git a/src/screen.c b/src/screen.c index 40c9a15a1..42995c727 100644 --- a/src/screen.c +++ b/src/screen.c @@ -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 -- cgit v1.2.3