mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 13:55:51 +03:00
[GH-ISSUE #341] The behavior of TextView.SetScrollable() is very strange #257
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#257
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 @dzpao on GitHub (Aug 31, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/341
Talk is cheap, show you the code:
When I ran this code, I observed that the screen would be empty after it was full.
But according to the TextView documentation, it should be that only text that is above the top of the screen will be discarded.
So what am I doing wrong?
@dzpao commented on GitHub (Aug 31, 2019):
I have retired several versions and located the problem that should be introduced by
fc28d64. The behavior of previous versions of this version is as expected.@rivo commented on GitHub (Oct 18, 2019):
Thanks. It was really just a typo in the code. Should be fixed now.