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_SUPPORT=True prevents scrolling, selection macOS #1930

Closed
mangecoeur opened this issue Nov 3, 2016 · 4 comments
Closed

MOUSE_SUPPORT=True prevents scrolling, selection macOS #1930

mangecoeur opened this issue Nov 3, 2016 · 4 comments

Comments

@mangecoeur
Copy link

Setting $MOUSE_SUPPORT=True on macOS appears to break touch (two finger) and scrollwheel scrolling in macOS Terminal, as well as text selection and copy/paste. All of these actions simply stop working (no error messages). Somewhat ironically, mouse input is better supported with mouse_support=False :/

@scopatz
Copy link
Member

scopatz commented Nov 3, 2016

Hello @mangecoeur, I am assuming that you are using the PTK shell. We simply call out to their mouse handling. I recommend that you report this to https://github.com/jonathanslenders/python-prompt-toolkit If there is anything that we can do or should do in xonsh, please let us know!

@mangecoeur
Copy link
Author

@scopatz yes I am using PTK shell, will report accordingly

@gforsyth
Copy link
Collaborator

Closing this since it's a PTK issue.

@sbliven
Copy link
Contributor

sbliven commented Aug 31, 2021

As reported in the prompt-toolkit thread, the work-around in iTerm2 is to disable 'Report mouse wheel events' in Preferences > Profiles > Terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants