github / github/copilot-cli

Most hated keyboard shortcut: CTRL + Z - Copilot CLI says: Goodbye! (green)

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

描述

### Describe the bug

Every writer, every developer is typing, copying, pasting and undoing and redoing.

First of all copy and paste does NOT work in Copilot. Please refer to other issues.

What happens?
When i select a peace of text outside the CLI, or from another Copilot CLI and right mouse to paste in Copilot CLI (or CTRL +C and CTRL + V), is does NOT work. I paste something old from clipboard, not what i just copied.

Then i use CTRL + Z to undo. This is automatic behavior, 1 millions of people do every day.
I don't want the wrong pasted text. And what happens? Copilot says: Goodbye and exits. I hate this so much!

The only reason i use Copilot CLI is for the auto mode of models and control my models, budgets and policies in github. If Claude CLI or Gemini CLI ever support other models in their future releases then their own, i would switch forever and never use Copilot CLI again. I really hate it.

Please remove the CTRL+Z shortcut or fix it. I lost so many conversations.

ps. On linux it says: please use fq to return to the session. That also doesnt work.

Please fix this very very very anyoing bug!

### Affected version

_No response_

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

首先在 Copilot CLI 中复现 Ctrl+Z 的退出行为,以及报告中提到的复制/粘贴和使用 `fq` 返回会话的行为,尤其是在 Linux 上。检查 CLI 对键盘快捷键和会话输入的处理;当 Ctrl+Z 不再意外退出,并且文档所述的返回会话行为正常工作时,即可视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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