Add mouse movement events for tui
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 1.9k
- Forks
- 500
- Avg merge
- 15h 21m
- Merged PRs (30d)
- 277
Description
In the following PR:
There is support for mouse movement events. This could be useful since we could get the UI to be reactive to mouse movements. I'm thinking buttons, scrollbars and tabs can react to being hovered over.
This would help with some issues that TUI currently has. For example, on some terminal emulators, the location of the mouse can be offset slightly causing difficulty when clicking buttons. If we had a visual indicator that a button can be pressed it will make for a much nicer user experience.
I'm opening this issue as a reminder for such an avenue of exploration.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the mouse movement support described in the referenced PR #46 and locating the TUI event-handling entry points. No files or tests are named, and the issue presents this as an avenue of exploration; done would require an agreed scope for mouse movement events and a corresponding implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100