-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ QUESTION ] Update widget NOW #46
Comments
Hi @Peter2121 - one thing to watch for is to ensure |
In cbsd-tui.go at line 777 I check if there are something new in a file. If yes - I need to update
It works, but it seems that there is a delay between the update of the text in my file and in the widget. |
I use edit widget to show command's output. According to the gowid documentation, I use
app.Run(gowid.RunFunction(func(app gowid.IApp) { <some code> app.Redraw() }
construction to update the content of the edit widget. It works correctly, but the updates received by the widget are not very frequent, really I get only one update at the end of my command, so I cannot see the progress of command execution. Is there any way to do more frequent updates? I tried to useapp.RedrawTerminal()
somehow, but the application crashes sometimes, probably due to race conditions.The text was updated successfully, but these errors were encountered: