Feature Request: Please copy the content of highlighted text, after press Enter. #1741

Closed
opened 2026-01-30 22:35:13 +00:00 by claunia · 5 comments
Owner

Originally created by @zhwghl on GitHub (Jun 19, 2019).

Please copy the content of highlighted text, after press Enter as the regular cmd.exe will do. When I was using cmd.exe I got used to copying something by highlight them and press enter, please bring this to the new Windows Terminal.

Originally created by @zhwghl on GitHub (Jun 19, 2019). Please copy the content of highlighted text, after press Enter as the regular cmd.exe will do. When I was using cmd.exe I got used to copying something by highlight them and press enter, please bring this to the new Windows Terminal.
Author
Owner

@zadjii-msft commented on GitHub (Jun 19, 2019):

Well this will certainly need a spec. I believe @carlos-zamora is working on a spec for mouse bindings currently, maybe this should be called out in it.

This one's tricky though, since it's technically a keybinding that only applies when there's a selection. Perhaps I should be doing the calling out in #1142. Perhaps we need to somehow still have a "selection mode" like conhost did, and keybindings that only apply to that mode. I don't know how we'd manage that, but that's what the spec is for.

@zadjii-msft commented on GitHub (Jun 19, 2019): Well this will certainly need a spec. I believe @carlos-zamora is working on a spec for mouse bindings currently, maybe this should be called out in it. This one's tricky though, since it's technically a keybinding that only applies when there's a selection. Perhaps I should be doing the calling out in #1142. Perhaps we need to somehow still have a "selection mode" like conhost did, and keybindings that only apply to that mode. I don't know how we'd manage that, but that's what the spec is for.
Author
Owner

@eraineri commented on GitHub (Jun 23, 2019):

I would also like to see when you highlight the text the data is automatically copied with no need to do anything else.

@eraineri commented on GitHub (Jun 23, 2019): I would also like to see when you highlight the text the data is automatically copied with no need to do anything else.
Author
Owner

@zhwghl commented on GitHub (Jun 24, 2019):

I would also like to see when you highlight the text the data is automatically copied with no need to do anything else.

I don't think that's a good idea to automatically copy any highlighted content. This might confuse the uses.

@zhwghl commented on GitHub (Jun 24, 2019): > I would also like to see when you highlight the text the data is automatically copied with no need to do anything else. I don't think that's a good idea to automatically copy any highlighted content. This might confuse the uses.
Author
Owner

@zhwghl commented on GitHub (Jun 24, 2019):

Well this will certainly need a spec. I believe @carlos-zamora is working on a spec for mouse bindings currently, maybe this should be called out in it.
This one's tricky though, since it's technically a keybinding that only applies when there's a selection. Perhaps I should be doing the calling out in #1142. Perhaps we need to somehow still have a "selection mode" like conhost did, and keybindings that only apply to that mode. I don't know how we'd manage that, but that's what the spec is for.

If I didn't get it wrong, I believe we have mouse binding for copying by right clicking the mouse, which is now the only way to copy and pasted the highlighted content. I did not know that we don't have the selection mode and the keybinding and mousebinding are handled separately.

@zhwghl commented on GitHub (Jun 24, 2019): > Well this will certainly need a spec. I believe @carlos-zamora is working on a spec for mouse bindings currently, maybe this should be called out in it. > This one's tricky though, since it's technically a keybinding that only applies when there's a selection. Perhaps I should be doing the calling out in #1142. Perhaps we need to somehow still have a "selection mode" like conhost did, and keybindings that only apply to that mode. I don't know how we'd manage that, but that's what the spec is for. If I didn't get it wrong, I believe we have mouse binding for copying by right clicking the mouse, which is now the only way to copy and pasted the highlighted content. I did not know that we don't have the selection mode and the keybinding and mousebinding are handled separately.
Author
Owner

@DHowett-MSFT commented on GitHub (Jun 24, 2019):

We're moving all copy selection issues to #524

@DHowett-MSFT commented on GitHub (Jun 24, 2019): We're moving all copy selection issues to #524
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1741