diff options
| author | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-20 09:57:44 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-20 09:57:44 +0300 |
| commit | 60398ffcebe42b74a1e09db972fe16597b7d6eca (patch) | |
| tree | 2159f19f6e180b2f5bdc64b6e125dc036c0f2f75 | |
| parent | 6d87b5190d784fa73bcaeb23dfeaafa9544a719b (diff) | |
| parent | 20fefc87866ef29d6a7b8917ed1d2060a01d5b02 (diff) | |
Merge pull request #14 from snonux/codex/color-status-line-with-highlighted-cell-color
Align status line color with selected cell
| -rw-r--r-- | internal/ui/table.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/ui/table.go b/internal/ui/table.go index a14b392..1f90c84 100644 --- a/internal/ui/table.go +++ b/internal/ui/table.go @@ -163,7 +163,11 @@ func (m Model) View() string { } func (m Model) statusLine() string { - return fmt.Sprintf("Total:%d InProgress:%d Due:%d", m.total, m.inProgress, m.due) + status := fmt.Sprintf("Total:%d InProgress:%d Due:%d", m.total, m.inProgress, m.due) + return lipgloss.NewStyle(). + Foreground(lipgloss.Color("229")). + Background(lipgloss.Color("57")). + Render(status) } func taskToRow(t task.Task) atable.Row { |
