Skip to content

Mouse scroll cycles through input history in Android Studio's integrated terminal #3194

@kavin-s-18660

Description

@kavin-s-18660
scroll_issue.mov

Describe the bug

Since upgrading to Copilot CLI v1.0.43, mouse scroll wheel events in Android Studio's integrated terminal are being interpreted as Up/Down arrow key inputs, causing
the input prompt to cycle through previous commands instead of scrolling the terminal buffer. This does not occur in macOS Terminal.app or other standalone terminals.

Environment:

  • Terminal: Android Studio integrated terminal
  • OS: macOS

Affected version

v1.0.43

Steps to reproduce the behavior

  1. Open Android Studio's integrated terminal
  2. Launch copilot
  3. Enter a few prompts
  4. Scroll up/down with mouse wheel

Expected behavior

Instead of scrolling terminal, it's filling previous prompts I've given

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