mirror of https://github.com/jroimartin/gocui.git
Update README and doc
This commit is contained in:
parent
cebc72c201
commit
b9ce982fe5
|
@ -43,7 +43,7 @@ Example
|
|||
}
|
||||
defer g.Close()
|
||||
g.SetLayout(layout)
|
||||
if err := g.SetKeybinding("", gocui.KeyCtrlC, 0, quit); err != nil {
|
||||
if err := g.SetKeybinding("", gocui.KeyCtrlC, gocui.ModNone, quit); err != nil {
|
||||
log.Panicln(err)
|
||||
}
|
||||
err = g.MainLoop()
|
||||
|
|
Loading…
Reference in New Issue