-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Alt click should force regular selection in the Terminal #28863
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
Comments
@joaomoreno literally everything changed 😉 xtermjs/xterm.js#670 Do you want to be able to do a regular selection when holding shift? Do other terminals let you do this? It looks like iTerm lets you use the regular (non-tmux) selection while holding alt/option, would this work for you? |
I'm not sure whether this addresses the same issue but it's hard to select a link which will open a file with a specific number(i.e. in error messages). You need to select at least one additional char after the link so you can copy it. |
@jens1o this is one of the problems that is fixed with the new selection model 👍 |
Is this fixed in today's insiders? Yesterday, it wasn't fixed and I weren't able to check it out today. |
@jens1o if you're seeing this in Insiders today please file an issue for more details 😃 |
No, it's fixed in today's insider. Sorry for the worries! |
@Tyriar Wow I was unaware of the huge amount of changes. Great job! Yeah I know iTerm used Alt for it and always found it weird that we use Shift, so Alt would be better! |
@Tyriar This is really painful 😢 I would love to attempt a PR. Gimme a hint. 👍 |
@joaomoreno it will involve a PR to xterm.js. Currently we disable selection completely when entering mouse mode here. We need to keep it running but only respond when alt is down. Current unknowns:
|
@Tyriar Will this find its way into the July release? |
@jens1o yep, should do |
YEAHHHHH |
To verifier: This feature is for macOS only, when in a tmux session with mouse mode on (selecting without a modifier should look different to the normal selection) holding alt should revert to the "regular" terminal selection, allowing the regular copy (cmd+c) to work. |
I always use tmux with mouse support in Code. The mouse support prevents me from selecting text in the Terminal. I used to be able to hold Shift to bypass that behaviour and select text. That doesn't seem to work anymore. Did something change?
The text was updated successfully, but these errors were encountered: