diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-11 23:05:44 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-11 23:05:44 +0200 |
commit | 49a613f84aaa7cccd1d12a2ffc4ebb1956f973aa (patch) | |
tree | c402c4197817a88405db6ede90e65bea04ae3716 /src/screen.c | |
parent | 238d43b32859d1b4e6b7072d552289a748cbfee1 (diff) | |
download | vim-49a613f84aaa7cccd1d12a2ffc4ebb1956f973aa.zip |
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.
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |