diff --git a/demos/postgres.png b/demos/postgres.png new file mode 100644 index 0000000..e6a12d7 Binary files /dev/null and b/demos/postgres.png differ diff --git a/list.go b/list.go index 8bfa478..adbc533 100644 --- a/list.go +++ b/list.go @@ -204,7 +204,7 @@ func (l *List) Draw(screen tcell.Screen) { // Main text. color := l.mainTextColor - if l.focus.HasFocus() && index == l.currentItem { + if index == l.currentItem { textLength := len([]rune(item.MainText)) style := tcell.StyleDefault.Background(l.selectedBackgroundColor) for bx := 0; bx < textLength && bx < width; bx++ {