mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #265] Most efficient method for rapid updates. #205
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#205
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 @ross2084 on GitHub (Apr 12, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/265
Firstly, thanks for a great library! It has been amazingly useful.
I would like to display a counter variable of packets received from a CAN interface. Although it is not critical that the display be updated with every single increment of my counter variable, I do prefer it update several times per second. Can this be done efficiently?
As a POC I made a simple tview.Box with a drawFunc but this seems quite CPU intensive. Is there a better way to accomplish this, perhaps a TextView or some other means where refreshing can be done more efficiently?
Ultimately if I have to refresh on a longer interval, well them's the breaks, I suppose. Thank you again!