Skip to content
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

Mouse scrolling #34

Open
dufferzafar opened this issue Nov 5, 2021 · 3 comments
Open

Mouse scrolling #34

dufferzafar opened this issue Nov 5, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@dufferzafar
Copy link

Is it possible to get mouse scrolling to work? So that it correctly scrolls regions with vertical tabbar.

For eg, in this demo window, clicking on the scrollbar and dragging it works, but scrolling via mouse scroll button doesn't.

image

@ggerganov ggerganov added the enhancement New feature or request label Nov 6, 2021
@ggerganov
Copy link
Owner

Latest master branch should support now mouse wheel - give it a try

@ggerganov ggerganov self-assigned this Nov 6, 2021
@dufferzafar
Copy link
Author

Hey! I just tried the latest master and mouse scrolling doesn't seem to be working for me.

Please let me know how I can debug further.

ggerganov added a commit that referenced this issue Nov 7, 2021
This reverts commit 35cab31.
It does not seem supported in all terminals.
@ggerganov
Copy link
Owner

It seems this change was not very portable, since it does not work in some terminals. I reverted it for now.
Looking at Stack Overflow comments, it seems that mouse wheel scrolling is not very well supported with ncurses.

@ggerganov ggerganov removed their assignment Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants