[GH-ISSUE #361] Is it possible to make text not selectable by mouse? #270

Closed
opened 2026-03-04 01:03:29 +03:00 by kerem · 1 comment
Owner

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?

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?
kerem closed this issue 2026-03-04 01:03:30 +03:00
Author
Owner

@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.

<!-- gh-comment-id:559138664 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#270
No description provided.