github / github/copilot-cli

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

Open
#3,194 3 comments 2 reactions 0 assignees View on GitHub
area:input-keyboard
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

https://github.com/user-attachments/assets/e7a2c1ff-9868-410a-9b24-1fa62752fc86

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.