moonmath/moonmath.go
Sam Fredrickson bf50ba4539
All checks were successful
Build & Test / Main (push) Successful in 51s
Move TUI code into separate package.
2024-03-19 18:40:42 -07:00

18 lines
265 B
Go

package main
import (
"fmt"
"os"
"code.humancabbage.net/sam/moonmath/tui"
tea "github.com/charmbracelet/bubbletea"
)
func main() {
p := tea.NewProgram(tui.New())
if _, err := p.Run(); err != nil {
fmt.Printf("program error: %v\n", err)
os.Exit(1)
}
}