Maintain history; use state

This commit is contained in:
Madison Rye Progress
2025-09-13 20:58:36 -07:00
parent bef9cd248e
commit f3b3803535
7 changed files with 63 additions and 12 deletions

View File

@ -4,12 +4,11 @@ import (
"fmt"
"os"
"git.makyo.dev/makyo/gogogogogram/model"
tea "github.com/charmbracelet/bubbletea"
)
func main() {
p := tea.NewProgram(model.New(4, 4))
p := tea.NewProgram(newModel(4, 4))
if _, err := p.Run(); err != nil {
fmt.Printf("Ah drat — %v\n", err)
os.Exit(1)