copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

Cannot multi-line paste (forces Bracketed Paste Mode)

Open joellis13 opened this issue 7 months ago • 2 comments

Describe the bug

I am running the Copilot CLI in VS Code's integrated Git Bash terminal, recently updated to v1.0.36.

Even after running /terminal-setup whenever I paste a multiline text block, I just get bracketed paste mode. I'm not sure if someone thinks it's a good idea to not allow users to see what they're submitting to Copilot but this is NOT a feature - it IS a bug.

Affected version

GitHub Copilot CLI 1.0.36.

Steps to reproduce the behavior

  1. Copy a chunk of multi-line text.
  2. Pasted into Copilot CLI
    • Git Bash terminal in VS Code
    • Can use Ctrl + V, Right-click, etc. - all the same result
  3. Paste results in something like [Paste #1 - 15 lines] - NOT what was actually copied.

NOTE: Occurred occasionally in previous versions, but first paste would be bracketed, second would paste correctly.

Expected behavior

PASTE WHAT WAS COPIED. If I can't see what I'm submitting, I CAN'T TRUST IT.

Additional context

No response

joellis13 avatar Apr 27 '26 16:04 joellis13

I'd accept Ctrl + Shift + V to "paste as plain text" and see the whole thing if I'm intending to edit some part(s) of it before sending to copilot.

logar16 avatar Apr 28 '26 06:04 logar16

+1, this is so ridiculously annoying that I cannot paste a few lines and edit them in the cli, I have to open an editor on the side, do the changes there, and then paste it.

phillies avatar Sep 28 '26 09:09 phillies