From c53e8c4e41aa88566b101431bcd104ebf7b34312 Mon Sep 17 00:00:00 2001 From: T Date: Wed, 6 Aug 2025 16:00:05 -0600 Subject: TUI fixes, and WIP modal dialog rendering --- internal/tui/shared.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'internal/tui/shared.go') 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) -- cgit v1.2.3