github / github/copilot-cli

Shift+Enter currently submits the prompt instead of inserting a new line

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

説明

### Describe the bug

Not sure whether this is intended behavior or a feature gap, but it would be helpful if Shift+Enter inserted a new line instead of submitting the prompt to the agent.
Currently, if I press Shift+Enter while still composing a prompt, the agent immediately starts processing an unfinished input. This is frustrating, as it often forces me to cancel and re-enter the full prompt.

### Affected version

GitHub Copilot CLI 1.0.31

### Steps to reproduce the behavior

_No response_

### Expected behavior

Shift+Enter should create a new line while composing a prompt.

### Additional context

_No response_

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

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

調査の方向性

No file or test is named. Start by running GitHub Copilot CLI 1.0.31 and tracing the prompt input and key-handling entry points for Shift+Enter; done means it inserts a newline while composing instead of submitting the prompt, without changing ordinary Enter behavior.

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

評価

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

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

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