Suggestion: Copy without dismissing selection #17872

Closed
opened 2026-01-31 05:56:58 +00:00 by claunia · 3 comments
Owner

Originally created by @zadjii-msft on GitHub (Jul 5, 2022).

Suggestion/question: in ConEmu mark mode ctrl+c/copy keybinding copies only but Enter copies and exits mark mode. Is that how ours works?

Originally posted by @ofek in https://github.com/microsoft/terminal/issues/13369#issuecomment-1175483079

Originally created by @zadjii-msft on GitHub (Jul 5, 2022). > Suggestion/question: in ConEmu mark mode `ctrl+c`/copy keybinding copies only but `Enter` copies and exits mark mode. Is that how ours works? _Originally posted by @ofek in https://github.com/microsoft/terminal/issues/13369#issuecomment-1175483079_
Author
Owner

@zadjii-msft commented on GitHub (Jul 5, 2022):

I coulda swore this was on the backlog, but couldn't find it. I've been wrong before.

Should be fairly trivial to add a dismissSelection property to the copy action, defaults to true, and does what you'd expect. We should then change the enter keybinding to

        { "command": { "action": "copy", "singleLine": false, "dismissSelection": false }, "keys": "enter" },

er... maybe we don't change the defaults. Those would be the opposite of ConEmu

@zadjii-msft commented on GitHub (Jul 5, 2022): I coulda swore this was on the backlog, but couldn't find it. I've been wrong before. Should be fairly trivial to add a `dismissSelection` property to the `copy` action, defaults to true, and does what you'd expect. ~We should then change the `enter` keybinding to~ ```jsonc { "command": { "action": "copy", "singleLine": false, "dismissSelection": false }, "keys": "enter" }, ``` er... maybe we don't change the defaults. Those would be the opposite of ConEmu
Author
Owner

@carlos-zamora commented on GitHub (Jul 5, 2022):

Found it! You were looking for #3884

/dup #3884

@carlos-zamora commented on GitHub (Jul 5, 2022): Found it! You were looking for #3884 /dup #3884
Author
Owner

@ghost commented on GitHub (Jul 5, 2022):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Jul 5, 2022): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17872