mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 05:45:49 +03:00
[GH-ISSUE #846] Persistent activity in terminal #616
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#616
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 @FunTimeCoding on GitHub (May 8, 2023).
Original GitHub issue: https://github.com/rivo/tview/issues/846
tview appears to be triggering the activity detection of at least iTerm
I wonder what could be the cause and how I might change my code to avoid that.
My goal is to only redraw the window when data I'm fetching actually changes, therefore notifying the terminal that there is "something new". I've had a working implementation with termui before, but switched to tview because it has more granular color control.
@rivo commented on GitHub (Jun 18, 2023):
You didn't provide much info about your application, e.g. what
tviewprimitives you're using. So it's difficult for me to help you here.Of course you can always fetch data separately in a goroutine and once you detect any changes, you update any of the primitives you're using. Be sure to checkout the Wiki page on concurrency when working with goroutines.
@rivo commented on GitHub (Aug 26, 2023):
I'm going to close this issue if no further information is provided.
@FunTimeCoding commented on GitHub (Aug 28, 2023):
I shall put together a small prototype to replicate the behavior.