diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-05 19:24:09 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-05 19:24:09 +0200 |
| commit | 30c955ef113e5e0c99c147ee4e7c8c20b0a7f273 (patch) | |
| tree | f872b7c44e62609a455dbed356fcc28ab3b53531 /cmd | |
| parent | 33064821d637aeef94fe6ee96edbac7a503c0692 (diff) | |
Migrate UI stack to Bubble Tea v2
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/tasksamurai/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/tasksamurai/main.go b/cmd/tasksamurai/main.go index 96c8be8..15ee037 100644 --- a/cmd/tasksamurai/main.go +++ b/cmd/tasksamurai/main.go @@ -11,7 +11,7 @@ import ( "codeberg.org/snonux/tasksamurai/internal/task" "codeberg.org/snonux/tasksamurai/internal/ui" - tea "github.com/charmbracelet/bubbletea" + tea "charm.land/bubbletea/v2" ) func main() { @@ -48,7 +48,7 @@ func main() { // previous command line artefacts behind. fmt.Print("\033[H\033[2J") - p := tea.NewProgram(&m, tea.WithAltScreen()) + p := tea.NewProgram(&m) if _, err := p.Run(); err != nil { fmt.Fprintln(os.Stderr, "error running ui:", err) os.Exit(1) |
