embeded templates

This commit is contained in:
steven carpenter 2025-07-25 16:01:48 -04:00
parent bf78461bbb
commit 9e4d1a6a28
18 changed files with 63 additions and 58 deletions

View file

@ -1,18 +0,0 @@
package tui
import tea "github.com/charmbracelet/bubbletea"
func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
switch msg := msg.(type) {
case tea.KeyMsg:
switch msg.String() {
case "q", "ctrl+c":
return m, tea.Quit
case "up":
m.count++
case "down":
m.count--
}
}
return m, nil
}