Closed Macmod closed 7 months ago
@Macmod
You should be able to pull/go mod edit -replace
my PR's branch, or you can wait for @rivo to merge PR... however, he may be a while.
Here's another reply I made with details about using a diff branch if you dont want to wait for @rivo in your project
Fixed with #963
It seems that https://github.com/rivo/tview/blob/master/textview.go#L1386 is missing a bounds check for when
y+t.lineOffset
is negative, which leads to a panic in this scenario, when the user clicks on the top border instead of the text itself:Sample
Trace