mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 05:45:49 +03:00
[GH-ISSUE #744] Not renderring real-time #544
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#544
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ashis0013 on GitHub (Jul 11, 2022).
Original GitHub issue: https://github.com/rivo/tview/issues/744
Trying to use a basic counter but the UI doesn't update. Am I doing anything wrong here?
@sewnie commented on GitHub (Jul 8, 2023):
what did you do to solve this????!?!?!
@rivo commented on GitHub (Jul 8, 2023):
There are multiple ways this could be done. Either install a listener on the
TextView, seeSetChangedFunc. Or simply callapp.Draw()in your goroutine.@sewnie commented on GitHub (Jul 8, 2023):
Using
SetChangedFuncwithapp.Drawfroze the application. I am usingQueueChangedFuncwith the changed text inside it and it works. Thanks.@rivo commented on GitHub (Jul 8, 2023):
Can you post the version which froze the application? Either there is a bug or the documentation is wrong. Both cases should be investigated.