diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-05 19:32:29 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-05 19:32:29 +0200 |
| commit | 83ae6b0b19a1f5bb18069210700fc81d2f43278a (patch) | |
| tree | c2d931e79c288df8ff46c52793d4ae35ad21082f /internal/tui/report.go | |
| parent | b547dc4372175bc54ca3bfdeb215b9734987c669 (diff) | |
migrate Bubble Tea and Lip Gloss to charm.land v2 APIs
Diffstat (limited to 'internal/tui/report.go')
| -rw-r--r-- | internal/tui/report.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/tui/report.go b/internal/tui/report.go index 3db4ab0..28b60f7 100644 --- a/internal/tui/report.go +++ b/internal/tui/report.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" + tea "charm.land/bubbletea/v2" "codeberg.org/snonux/timesamurai/internal/worktime" - tea "github.com/charmbracelet/bubbletea" ) // ReportModel is a weekly report browser screen. @@ -66,7 +66,7 @@ func (m *ReportModel) SetWarning(warning string) { // Update handles keyboard interaction. func (m *ReportModel) Update(msg tea.Msg) (ReportModel, tea.Cmd) { - keyMsg, ok := msg.(tea.KeyMsg) + keyMsg, ok := msg.(tea.KeyPressMsg) if !ok { return *m, nil } |
