1
0
mirror of https://github.com/maaslalani/gambit.git synced 2025-02-11 13:25:34 +02:00
gambit/main.go

21 lines
236 B
Go
Raw Normal View History

2021-12-21 17:57:16 -05:00
package main
import (
"log"
tea "github.com/charmbracelet/bubbletea"
)
func main() {
2021-12-22 12:14:07 -05:00
p := tea.NewProgram(
2021-12-24 12:59:14 -05:00
Model(),
2021-12-22 12:14:07 -05:00
tea.WithAltScreen(),
tea.WithMouseCellMotion(),
)
2021-12-21 17:57:16 -05:00
err := p.Start()
if err != nil {
log.Fatal(err)
}
}