2024-03-17 09:10:05 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"os"
|
|
|
|
|
2024-03-20 01:38:46 +00:00
|
|
|
"code.humancabbage.net/sam/moonmath/tui"
|
2024-03-17 09:10:05 +00:00
|
|
|
tea "github.com/charmbracelet/bubbletea"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2024-03-20 01:38:46 +00:00
|
|
|
p := tea.NewProgram(tui.New())
|
2024-03-17 09:10:05 +00:00
|
|
|
if _, err := p.Run(); err != nil {
|
|
|
|
fmt.Printf("program error: %v\n", err)
|
|
|
|
os.Exit(1)
|
|
|
|
}
|
|
|
|
}
|