Files
restui/main.go
Saeed Afzal 7409d09f57 Setup.
2025-11-28 16:35:50 +00:00

19 lines
283 B
Go

package main
import (
"git.embergate.com/saeedafzal/restui/tui"
"github.com/rivo/tview"
)
func main() {
app := tview.NewApplication().
EnableMouse(true).
EnablePaste(true)
tui := tui.New(app)
if err := app.SetRoot(tui.Root(), true).Run(); err != nil {
panic(err)
}
}