summaryrefslogtreecommitdiff
path: root/internal/tui/timer_box.go
diff options
context:
space:
mode:
authorT <t@tjp.lol>2025-08-06 16:54:24 -0600
committerT <t@tjp.lol>2025-08-06 16:56:46 -0600
commitd75bd93385bf3b54ada84c3d45011d7f8efc1f80 (patch)
treecd50a2f300afaa24a48b3df84a2eb4a0af2429eb /internal/tui/timer_box.go
parentc53e8c4e41aa88566b101431bcd104ebf7b34312 (diff)
auto scrolling the history view
Diffstat (limited to 'internal/tui/timer_box.go')
-rw-r--r--internal/tui/timer_box.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/tui/timer_box.go b/internal/tui/timer_box.go
index 1a88870..93e05bc 100644
--- a/internal/tui/timer_box.go
+++ b/internal/tui/timer_box.go
@@ -76,7 +76,7 @@ func (m TimerBoxModel) View(width, height int, isSelected bool) string {
// renderActiveTimer renders the active timer display
func (m TimerBoxModel) renderActiveTimer() string {
- content := "⏱ Active Timer\n\n"
+ content := titleStyle.Render("⏱ Active Timer") + "\n\n"
// Timer duration
timerLine := fmt.Sprintf("Duration: %s", FormatDuration(m.currentTime.Sub(m.timerInfo.StartTime)))
@@ -114,7 +114,7 @@ func (m TimerBoxModel) renderActiveTimer() string {
// renderInactiveTimer renders the inactive timer display
func (m TimerBoxModel) renderInactiveTimer() string {
- content := "⚪ Last Timer (Inactive)\n\n"
+ content := titleStyle.Render("⚪ Last Timer (Inactive)") + "\n\n"
timerLine := fmt.Sprintf("Duration: %s", FormatDuration(m.timerInfo.Duration))
content += inactiveTimerStyle.Render(timerLine) + "\n\n"