github / github/copilot-cli

ctrl+shift+c no longer copies to clipboard on Linux

未關閉
#2,082 24 則留言 13 個 reaction 已指派 0 人 在 GitHub 檢視
area:input-keyboard area:platform-linux
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

Pressing ctrl+shift+c copies selected text to the clipboard in almost all linux terminal sessions on Ubuntu 24.04.
As of at least v1.0.4 of the github copilot CLI, this shortcut no longer works.
I saw that the ctrl+c adn right click now can be used for copying selected text, but for that to work, I have to 1. Have xclip installed, and 2. re-learn the keyboard shortcut for only the github copilot CLI or move to the mouse. Both of these are unacceptable compromises for a solution that used to work.
edit: ctrl+shift+v is still the shortcut to paste in to Copilot CLI, so it makes even less sense for ctrl+shift+c to be broken

### Affected version

GitHub Copilot CLI 1.0.5.

### Steps to reproduce the behavior

1. Open copilot CLI
2. Select any text
3. press ctrl+shift+c
4. attempt to paste in another program - nothing happens.

### Expected behavior

Text is copied when pressing ctrl+shift+c and can be pasted in another terminal

### Additional context

_No response_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。