Pasting a multiline block of text does not autoMarkPrompts #20351

Open
opened 2026-01-31 07:11:11 +00:00 by claunia · 0 comments
Owner

Originally created by @zadjii-msft on GitHub (Aug 9, 2023).

Originally assigned to: @zadjii-msft on GitHub.

  1. Turn on "experimental.autoMarkPrompts": true, and "experimental.rightClickContextMenu": true,
  2. turn on shell integration too. Just in general always, it's goodness.
  3. Copy the following
command-one
dir
command-two
command-three
  1. Paste it. Accept the warning.
  2. Try to right-click "select output" or command.
  3. Observe that it no worky.

Surely, when we paste text, we're not going through the same path in Terminal.cpp that marks enter

Originally created by @zadjii-msft on GitHub (Aug 9, 2023). Originally assigned to: @zadjii-msft on GitHub. 1. Turn on `"experimental.autoMarkPrompts": true,` and `"experimental.rightClickContextMenu": true,` 2. turn on shell integration too. Just in general always, it's goodness. 3. Copy the following ``` command-one dir command-two command-three ``` 4. Paste it. Accept the warning. 5. Try to right-click "select output" or command. 6. Observe that it no worky. Surely, when we paste text, we're not going through the same path in `Terminal.cpp` that marks <kbd>enter</kbd>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20351