Skip to content

Ctrl+E during a question expands text; expected to move to end-of-line #2308

@austindonnelly

Description

@austindonnelly

Describe the bug

When Copilot is doing ask_question and I'm providing an answer, if I type Ctrl+E then some text above the question becomes expanded. I would have expected Ctrl+E to move to the end of the line, as it normally does.

Affected version

GitHub Copilot CLI 1.0.11.

Steps to reproduce the behavior

Precondition: there are some large outputs earlier in the session.
Prompt copilot: ask me what my favourite colour is?
Start typing an answer.
Use Ctrl+A to move cursor to the start of the line: works.
Use Ctrl+E to move cursor to the end of the line: fails: it expands the large outputs

Expected behavior

I expect the cursor to move to the end of the line

Additional context

Windows, terminal shell, copilot started from cmd.exe

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions