Skip to content

SHIFT + ENTER should spawn a line break, but executes the prompt instead. #1481

@mithunshanbhag

Description

@mithunshanbhag

Describe the bug

SHIFT + ENTER is a standard/universal keystroke combo in most chat apps for spawning line breaks.

However, the Copilot CLI uses CTRL + ENTER to spawn line breaks, while SHIFT + ENTER (prematurely) executes the prompt.

Mildly annoying.

Affected version

GitHub Copilot CLI 0.0.410

Steps to reproduce the behavior

  1. Type a small prompt in Copilot CLI.
  2. Press SHIFT + ENTER.
  3. The prompt is immediately executed.

Expected behavior

A line break would be introduced, and the cursor would go over to the new line.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions