Skip to content

Arrow keys stopped working in CLI #1284

@StephaneDelcroix

Description

@StephaneDelcroix

Description

Arrow keys stopped working during an interactive session. They output literal characters instead of navigating:

  • Up arrow → A
  • Down arrow → B
  • Right arrow → C
  • Left arrow → D

This suggests terminal escape sequences (^[[A, ^[[B, etc.) are not being interpreted correctly.

Environment

  • Copilot CLI version: 0.0.402
  • OS: macOS Tahoe 26.2
  • Terminal: Terminal.app

Steps to reproduce

  1. Use Copilot CLI in an interactive session
  2. At some point during extended use, arrow keys stop responding

Expected behavior

Arrow keys should continue to work for navigation (history, cursor movement).

Actual behavior

Arrow keys output literal A/B/C/D characters.

Workaround

Unknown - may require restarting the CLI session.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions