mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 13:25:51 +03:00
[GH-ISSUE #13] Feature request: Mouse support #9
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#9
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 @pjebs on GitHub (Jan 11, 2018).
Original GitHub issue: https://github.com/rivo/tview/issues/13
@tjstebbing commented on GitHub (Nov 6, 2018):
How would you like this to look?
@rivo commented on GitHub (Nov 10, 2018):
There will be probably something like this. But mouse support should be much more than that. If I click on an input field, it should receive focus and allow me to edit it. If I click on a button, it should be activated. Any primitive should receive focus when clicked on. Things like that.
It's a higher effort, which is why I haven't gotten around to implementing it yet.
@markx commented on GitHub (Mar 12, 2019):
It'll be nice to setup some ground work like a basic or even empty handler, so we can easily implement the function locally before there's global support for all primitives.
@diamondburned commented on GitHub (Apr 22, 2019):
@markx check out @Bios-Marcel's https://github.com/Bios-Marcel/tview/ repository. Perhaps you could cherry-pick some commits into a PR 👀
@Bios-Marcel commented on GitHub (Apr 22, 2019):
Duh, now I gotta talk about this.
My mouse support isn't
wellfully implemented:ButtonandListhandle clicks by defaultI was just trying to get something without putting in much effort, which is also why I don't PR this back into rivo/tview.
@antonmedv commented on GitHub (Oct 31, 2019):
Hi @rivo,
Any plans add this feature? :)
@rivo commented on GitHub (Mar 29, 2020):
Mouse support has been added. Please have a look and let me know in case you find any bugs.