rivo / tview

Terminal UI library with rich, interactive widgets — written in Golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug in TextView demo: no highlighted regions in view

ok-go opened this issue · comments

First case:
Run demo -> Press Enter.
Expected: first region highlighted.
Actual: nothing happens

Second case:
Run demo -> Click on to first region -> First region highlighted -> Press Tab
Expected: jump to next region
Actual: highlights disappeared

Bug is reproduced in both cases when text fits into the view and doesn't.

Fix in demo: remove ScrollToHighlight call or disable scrolling on TextView

tview version: 742cf08
macOS: 14.1.1
app: iTerm2

Thanks for notifying me of this. I made a mistake in a commit yesterday. This should be fixed now.