Skip to content

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

@Omotola

Description

@Omotola

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:input-keyboardKeyboard shortcuts, keybindings, copy/paste, clipboard, mouse, and text input

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions