show the gocui in the example

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2023-04-06 23:58:22 -05:00
parent 6f6f1a6c25
commit 5ba335ddee
2 changed files with 2 additions and 4 deletions

View File

@ -44,6 +44,8 @@ func main() {
})
log.Println("Main() END")
time.Sleep(1 * time.Second)
gui.StartS("gocui")
gui.Redraw("gocui")
gui.Watchdog()
gui.StandardExit()
}

View File

@ -130,10 +130,6 @@ func (n *Node) dumpWidget(b bool) string {
}
info = n.WidgetType.String()
if (n.WidgetType == toolkit.Checkbox) {
info += " = " + strconv.FormatBool(n.widget.B)
}
d = strconv.Itoa(n.id) + " " + info
var tabs string