aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/terminal.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2017-06-03 14:37:43 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2017-06-14 20:31:14 +0200
commitad73a70e5a1c7da58d7afbb70310c14c62b2519d (patch)
tree7c4b17c92f72df637d096e43ccbd00891a896e87 /src/nvim/terminal.c
parent16ae369474b0605716a962b60337421a9fc8741f (diff)
downloadrneovim-ad73a70e5a1c7da58d7afbb70310c14c62b2519d.tar.gz
rneovim-ad73a70e5a1c7da58d7afbb70310c14c62b2519d.tar.bz2
rneovim-ad73a70e5a1c7da58d7afbb70310c14c62b2519d.zip
screen.c: fix lint
Diffstat (limited to 'src/nvim/terminal.c')
-rw-r--r--src/nvim/terminal.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c
index d528639077..1882f263db 100644
--- a/src/nvim/terminal.c
+++ b/src/nvim/terminal.c
@@ -601,8 +601,10 @@ 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 ?
- win_hl_attr(wp, HLF_TERM) : win_hl_attr(wp, HLF_TERMNC));
+ attr_id = hl_combine_attr(attr_id,
+ is_focused(term) && wp == curwin
+ ? win_hl_attr(wp, HLF_TERM)
+ : win_hl_attr(wp, HLF_TERMNC));
}
term_attrs[col] = attr_id;