Use native bubble table

This commit is contained in:
Martin Pander
2026-02-26 20:03:48 +01:00
parent 418bcd96a8
commit 9eda92503e
6 changed files with 826 additions and 7 deletions

View File

@@ -0,0 +1,18 @@
package common
import (
"tasksquire/internal/taskwarrior"
"time"
tea "charm.land/bubbletea/v2"
)
type TaskMsg taskwarrior.Tasks
type TickMsg time.Time
func DoTick() tea.Cmd {
return tea.Tick(time.Second, func(t time.Time) tea.Msg {
return TickMsg(t)
})
}