commit | 49a613f84aaa7cccd1d12a2ffc4ebb1956f973aa | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Sep 11 23:05:44 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Sep 11 23:05:44 2017 +0200 |
tree | c402c4197817a88405db6ede90e65bea04ae3716 | |
parent | 238d43b32859d1b4e6b7072d552289a748cbfee1 [diff] [blame] |
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.
diff --git a/src/screen.c b/src/screen.c index 40c9a15..42995c7 100644 --- a/src/screen.c +++ b/src/screen.c
@@ -3257,7 +3257,7 @@ { 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