mirror of
https://github.com/jroimartin/gocui.git
synced 2025-04-24 13:48:51 +08:00
Update docs
This commit is contained in:
parent
ddbc9be671
commit
fc121d98fd
@ -47,8 +47,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
g := gocui.NewGui()
|
g, err := gocui.NewGui()
|
||||||
if err := g.Init(); err != nil {
|
if err != nil {
|
||||||
log.Panicln(err)
|
log.Panicln(err)
|
||||||
}
|
}
|
||||||
defer g.Close()
|
defer g.Close()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user