spacetea/main.go
2022-05-19 12:58:37 -04:00

22 lines
391 B
Go

package main
import (
"fmt"
"os"
sim "git.saintnet.tech/stryan/spacetea/simulator"
tea "github.com/charmbracelet/bubbletea"
)
var simulator *sim.Simulator
func main() {
simulator = sim.NewSimulator()
simulator.Start()
parent := parent{initMainscreen()}
if err := tea.NewProgram(parent).Start(); err != nil {
fmt.Printf("Uh oh, there was an error: %v\n", err)
os.Exit(1)
}
}