mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 13:25:51 +03:00
[GH-ISSUE #361] Is it possible to make text not selectable by mouse? #270
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#270
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 @jerblack on GitHub (Oct 31, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/361
I was looking through the demos and it appears that all mouse interactions can select the text, which makes for odd behavior with elements that are supposed to be acting like buttons or menus. Is it possible to disable text selection altogether while still leaving areas clickable and scrollable?
@rivo commented on GitHub (Nov 27, 2019):
In the current version, this cannot be turned off. And for some terminals which don't support mouse input, this may never be available. There is an early issue #13 which requested mouse support as well as a recent PR #363 which I still need to evaluate. I can't comment on it because I haven't looked at it yet.
You might want to follow the discussion there.