-
-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More complete mouse support #840
Comments
Partially implements hrkfdn#840
Hey @ThomasFrans, I decided to take a look at the tab area mouse handling. Feel free to have a go at the rest if you like :) |
The previous behavior would select and open the last item if the user clicked a row after the last item. This change prevents such a behavior as it can be misleading. Related to #840
Hey again, I have implemented a variation of this: |
Is your feature request related to a problem? Please describe.
Currently there are two mouse actions available: clicking at the bottom for play pause, and scrolling with the bar on the side. It would be nice if there were other options, like selecting a tab with the mouse, or playing a song with the mouse. Good mouse support would also allow new TUI users to more easily use ncspot.
Describe the solution you'd like
Some nice mouse additions would be:
Additional context
I know, mouse support in a TUI, I must be crazy, but sometimes the mouse is just more fun and easier 😄. Especially during active music listening, 'Vim-ing' through the library is a bit annoying. It also feels like the current mouse support is only half functional (only for things near the edges). I was looking through the code a bit and from the limited time, I noticed it may be a bit hard to implement this without some refactoring work on the UI, because there is no relative positions for Views. If this would be a welcome addition, I'd be happy to (try and) help 🙂.
The text was updated successfully, but these errors were encountered: