rivo/tview [4.5k] 命令行ui
最后更新于:2022-04-02 02:39:18
[TOC]
> [github](https://github.com/jroimartin/gocui/)
## 概述
![](https://github.com/rivo/tview/raw/master/tview.gif)
## demo
```
package main
import (
"github.com/rivo/tview"
)
func main() {
box := tview.NewBox().SetBorder(true).SetTitle("Hello, world!")
if err := tview.NewApplication().SetRoot(box, true).Run(); err != nil {
panic(err)
}
}
```
';