Chris Cummer
Chris Cummer
That definitely looks worthwhile to me.
Yep, I think that's an excellent idea.
That makes sense. I'm hoping to dig into this next week to see if I can find a solution.
Keyboard controls for navigating between widgets works (number keys) as long as no key controls for the widget are used. Once one of the widget's key controls are used, keyboard...
The problem seems to have something to do with the execution of the assigned key function: ``` fn = widget.keyMap[event.Key()] if fn != nil { fmt.Println(">> keymap") fn() return nil...
Calling `widget.display()` from within a keyboard key function causes the hang, perhaps a circular redraw loop of some kind?
Calling `fn()` from within `keyboard_widget.InputCapture()` causes it to hang....
Calling `widget.tviewApp.QueueUpdateDraw(func() {`, even when that block is empty, causes the hang.
Related to this? https://github.com/rivo/tview/issues/199