mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #756] A screen passed via Application.SetScreen() before Application.Run() is not initialised. #553
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#553
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 @tjhowse on GitHub (Aug 14, 2022).
Original GitHub issue: https://github.com/rivo/tview/issues/756
This function only prints the expected output if
initScreenis true. The docs on SetScreen says Init() need not be called on a screen before passing it to the app: https://github.com/rivo/tview/blob/master/application.go#L172I will raise a PR shortly.
@rivo commented on GitHub (Nov 13, 2022):
Indeed, that's a case that was overlooked. Thanks for the fix.