diff options
author | T <t@tjp.lol> | 2025-08-06 16:00:05 -0600 |
---|---|---|
committer | T <t@tjp.lol> | 2025-08-06 16:26:00 -0600 |
commit | c53e8c4e41aa88566b101431bcd104ebf7b34312 (patch) | |
tree | 614e1c911fae328cfdb1a35050bf94658d9253f8 /internal/tui/shared.go | |
parent | 65e2ed65775d64afbc6065a3b4ac1069020093ca (diff) |
TUI fixes, and WIP modal dialog rendering
Diffstat (limited to 'internal/tui/shared.go')
-rw-r--r-- | internal/tui/shared.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/tui/shared.go b/internal/tui/shared.go index b6bca20..0b0a8c2 100644 --- a/internal/tui/shared.go +++ b/internal/tui/shared.go @@ -22,8 +22,7 @@ var ( bottomBarStyle = lipgloss.NewStyle(). Background(lipgloss.Color("238")). - Foreground(lipgloss.Color("252")). - Padding(0, 1) + Foreground(lipgloss.Color("252")) // Box styles selectedBoxStyle = lipgloss.NewStyle(). @@ -52,7 +51,7 @@ func FormatDuration(d time.Duration) string { seconds := int(d.Seconds()) % 60 if hours > 0 { - return fmt.Sprintf("%dh %02dm", hours, minutes) + return fmt.Sprintf("%dh %02dm %02ds", hours, minutes, seconds) } if minutes > 0 { return fmt.Sprintf("%dm %02ds", minutes, seconds) |