Chris Cummer
Chris Cummer
Calling `widget.tviewApp.Draw()` also hangs it. Commenting out all the `*Draw` functions gets the app working again, but modal dialogs etc. no longer render to screen until after the first keyboard...
Also this issue https://github.com/rivo/tview/issues/569
Problem now is: how to get modal dialogs to draw onscreen _before_ the user presses a first keypress? (the keypress causes a draw which then renders the entire screen, but...
v0.42.0 has been released, which fixes this https://github.com/wtfutil/wtf/releases/tag/v0.42.0
Possibly related to this issue https://github.com/wtfutil/wtf/issues/577, specifically this comment? https://github.com/wtfutil/wtf/issues/577#issuecomment-526835771
That's a cool use, and definitely looks like a bug reading the input. Thanks for reporting it!
@Seanstoppable's comment has reminded me that this has come up before, in other use-cases, for the very same reasons. `CmdRunner` is unlikely to solve the problem for you. IMO WTF...
If someone using the GA module wants to fix that, the patch would definitely be welcome.