github / github/copilot-cli

CTRL+C is a bit too efficient - cancel current running command - not whole session

オープン
#3,198 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:input-keyboard
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

### Describe the bug

- stop prompting to use "copilot fg" when I accidentally exit copilot - it does not work. And please - try to find a
way to show "Are you sure you want to exit" when a ctrl+c is entered too many times - cancelling a command should not be
treated as an exit - please use CTRL+D for exit

### Affected version

GitHub Copilot CLI 1.0.43.

### Steps to reproduce the behavior

CTRL+C too many times

### Expected behavior

Just cancel the running command

Use CTRL+D for exit

Stop issuing prompt "copilot fg" to resume - it does nothing

### Additional context

_No response_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

GitHub Copilot CLI 1.0.43 で CTRL+C を繰り返し押したときの動作を再現し、コマンドのキャンセル、セッションの終了、および "copilot fg" のプロンプト処理を追跡します。完了の条件は、CTRL+C では実行中のコマンドだけがキャンセルされ、繰り返し押すと即座に終了するのではなく終了確認が表示され、CTRL+D で終了でき、誤解を招く再開プロンプトが削除されていることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。