github / github/copilot-cli

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

Ouverte
#2,776 6 commentaires 3 réactions 0 personnes assignées Voir sur GitHub
area:input-keyboard
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

### 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_

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.