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

This issue keeps regressing from version to version:

  • Fixed in one version, broken in next.
  • Works fine in regular mode, but broken in plan and autopilot modes.
  • Sometimes doesn't work with /fleet command.
  • Etc
  • Etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions