From 5ac7b71f419babcae54a0af735ffb8c3b0b4737d Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Fri, 4 Jul 2014 02:19:48 +0900 Subject: [PATCH] Fix query line highlight --- view.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view.go b/view.go index 89ef250..274bdb3 100644 --- a/view.go +++ b/view.go @@ -186,8 +186,8 @@ CALCULATE_PAGE: // the caret is in the middle of the string prev := 0 for i, r := range v.query { - fg := termbox.ColorDefault - bg := termbox.ColorDefault + fg := v.config.Style.Query.fg + bg := v.config.Style.Query.bg if i == v.caretPos { fg |= termbox.AttrReverse bg |= termbox.AttrReverse