Skip to content

Commit

Permalink
Fix up whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
matta committed Jun 18, 2024
1 parent bf37839 commit 9e989ae
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions sift.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,12 +341,13 @@ func (m *model) view() string {
itemsOut.WriteString(fmt.Sprintf("%s [%s] %s\n", cursor, done, item.Title))
}
itemsOut.WriteString("\n")
backgroundColor := lipgloss.AdaptiveColor{
Light: "#0000ff",
Dark: "#000099",
}
out.WriteString(
lipgloss.NewStyle().
Background(lipgloss.AdaptiveColor{
Light: "#0000ff",
Dark: "#000099",
}).
Background(backgroundColor).
Height(itemsHeight).
Width(m.windowWidth - borderInset).
Render(itemsOut.String()))
Expand Down

0 comments on commit 9e989ae

Please sign in to comment.