[GH-ISSUE #142] TreeView Changed event happens during draw, so any change to the ui will be delayed #109

Closed
opened 2026-03-04 01:02:01 +03:00 by kerem · 1 comment
Owner

Originally created by @ptxmac on GitHub (Jul 24, 2018).
Original GitHub issue: https://github.com/rivo/tview/issues/142

I have a "detail view" that shows information about the current highlighted node in a treeview, but the changed handler is called as part of draw, so any change I make to the detail view won't show up until another event happens and the screen re-draws

Originally created by @ptxmac on GitHub (Jul 24, 2018). Original GitHub issue: https://github.com/rivo/tview/issues/142 I have a "detail view" that shows information about the current highlighted node in a treeview, but the changed handler is called as part of draw, so any change I make to the detail view won't show up until another event happens and the screen re-draws
kerem closed this issue 2026-03-04 01:02:01 +03:00
Author
Owner

@rivo commented on GitHub (Jul 27, 2018):

Right. Good observation. I've just committed a change which should fix this. Let me know if you experience any more problems.

<!-- gh-comment-id:408470716 --> @rivo commented on GitHub (Jul 27, 2018): Right. Good observation. I've just committed a change which should fix this. Let me know if you experience any more problems.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#109
No description provided.