aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/terminal.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2017-05-08 18:36:03 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2017-06-14 20:31:14 +0200
commit16ae369474b0605716a962b60337421a9fc8741f (patch)
treebb44cd83f0fe6d1ca727e00affd67a4f600627a8 /src/nvim/terminal.c
parent6650588c4a89616249e964631dad17a66e1c6592 (diff)
downloadrneovim-16ae369474b0605716a962b60337421a9fc8741f.tar.gz
rneovim-16ae369474b0605716a962b60337421a9fc8741f.tar.bz2
rneovim-16ae369474b0605716a962b60337421a9fc8741f.zip
screen.c: make more highlights window specific
Diffstat (limited to 'src/nvim/terminal.c')
-rw-r--r--src/nvim/terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c
index bde07b0cd9..d528639077 100644
--- a/src/nvim/terminal.c
+++ b/src/nvim/terminal.c
@@ -602,7 +602,7 @@ void terminal_get_line_attributes(Terminal *term, win_T *wp, int linenr,
if (term->cursor.visible && term->cursor.row == row
&& term->cursor.col == col) {
attr_id = hl_combine_attr(attr_id, is_focused(term) && wp == curwin ?
- hl_attr(HLF_TERM) : hl_attr(HLF_TERMNC));
+ win_hl_attr(wp, HLF_TERM) : win_hl_attr(wp, HLF_TERMNC));
}
term_attrs[col] = attr_id;