mirror of
https://github.com/jroimartin/gocui.git
synced 2025-04-24 13:48:51 +08:00
Minor change in _examples/widgets.go
This commit is contained in:
parent
df63f19bd6
commit
e5517b913e
@ -127,7 +127,7 @@ func main() {
|
||||
status := NewStatusbarWidget("status", 1, 6, 50)
|
||||
butdown := NewButtonWidget("butdown", 52, 6, "DOWN", statusDown(status))
|
||||
butup := NewButtonWidget("butup", 58, 6, "UP", statusUp(status))
|
||||
g.SetManager(help, butdown, butup, status)
|
||||
g.SetManager(help, status, butdown, butup)
|
||||
|
||||
if err := g.SetKeybinding("", gocui.KeyCtrlC, gocui.ModNone, quit); err != nil {
|
||||
log.Panicln(err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user