This commit is contained in:
Saeed Afzal
2025-11-28 14:32:44 +00:00
committed by Saeed Afzal
parent 6a7524befb
commit 9569b401ba
8 changed files with 135 additions and 3 deletions

18
main.go Normal file
View File

@@ -0,0 +1,18 @@
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)
}
}