github / github/copilot-cli

Ctrl+Backspace (delete previous word) doesn't work on Windows

Đang mở Phù hợp với người mới
#3,858 1 bình luận 6 reaction 0 người được giao Xem trên GitHub
area:input-keyboard area:platform-windows
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

Ctrl+Backspace does nothing in the CLI input prompt on Windows. This is the standard shortcut for "delete previous word" in every other Windows text input (browsers, VS Code, Notepad, shell prompts).

Alt+Backspace works as a workaround, but that's the Unix/macOS convention — not what Windows users reach for.

Windows Terminal's  sendInput  remapping can't fix this either, because the CLI reads raw key events with modifier flags rather than character input.

Likely a small fix — just add Ctrl+Backspace alongside the existing Alt+Backspace handler in the input library.

Environment: Windows 11, Windows Terminal, Copilot CLI 1.0.64-0

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start at the CLI input library's existing Alt+Backspace handler and inspect how raw key events and modifier flags are matched on Windows. Add the equivalent Ctrl+Backspace behavior, then verify that it deletes the previous word in the Windows CLI prompt while preserving the existing Alt+Backspace behavior.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
shell
Lĩnh vực
cli, operating-systems
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
75/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.