-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
"shift extend selection" feature doesn't work in the click->shift-click case because single-cell selection is gone #5766
Comments
So, fair enough. Shift only works to extend an actual extant selection Since single-click no longer selects a cell, it doesn't comprise an active selection. We should probably expand the touchdown anchor when you click + shift-click. It's not high-priority, because there's a workaround (select 2 cells, then use shift-click.) |
Thanks. It's just a little inconvenient when select a long region now. |
@DHowett, @carlos-zamora, @ymkun - ConEmu does something that is IMHO more intuitive:
If you like this approach, I can commit (it is less than one-liner 😊) |
Sounds great, with one caveat. We need to figure out how this works with Shift suppressing VT mouse mode. Will any single shift-click on a mouse mode application cause a single cell selection? I might be okay with that. |
@DHowett - I am not sure I understood the concern, can you please explain? I mean I tried this in tmux with mouse mode on, and it works exactly like shift +drag one char (but with no need to drag). Guess I am missing something. |
Sure. I was worried that introducing this behavior would make it difficult to single-click on the terminal itself when there was a mouse mode application running without selecting a single cell. However, thinking about it more: There is no reason to click on the terminal itself during mouse mode unless you are making a selection, so this is okay. As long as it does not highlight a cell when you use Ctrl+Shift+Click on a URL! |
I will try this. If works as expected - should I submit PR under this ticket? |
Absolutely! 😄 We love your PRs. |
@DHowett - lol. Actually I am asking if I should mark the PR as "Closing" this one.. or not. BTW - URL works like a charm |
Yeah, I think that your proposal is sufficient to solve this issue! |
🎉This issue was addressed in #8611, which has now been successfully released as Handy links: |
Environment
Steps to reproduce
Expected behavior
Region between two click should be selected.
Actual behavior
region between two click hasn't been selected.
I remeber this feature has been released in "Windows Terminal Preview v0.9.433.0", said: "You can now hold down Shift and click to extend your selection (#4404)". But in recent releases, it gone.
The text was updated successfully, but these errors were encountered: