misc: import timer, add comments

This commit is contained in:
Anish Lakhwara 2024-05-19 17:32:30 -07:00
parent aa6931ba7d
commit 6f367619c3

View file

@ -4,6 +4,7 @@ import (
"fmt"
table "git.sealight.xyz/aynish/poms/table"
task "git.sealight.xyz/aynish/poms/task"
timer "git.sealight.xyz/aynish/poms/timer"
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/lipgloss"
"log"
@ -147,6 +148,8 @@ func (m model) openEditor() tea.Cmd {
})
}
// TODO
// This is where the data should be loaded...
func (m model) Init() tea.Cmd { return nil }
func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {