github / github/copilot-cli

Cannot multi-line paste (forces Bracketed Paste Mode)

未关闭
#2,997 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:input-keyboard area:platform-windows
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### 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_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。