github / github/copilot-cli

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

未關閉
#3,194 3 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
area:input-keyboard
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

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_

貢獻指南

開啟貢獻指南

研究方向

Start by reproducing the issue in Android Studio's integrated terminal on macOS with Copilot CLI v1.0.43, following the listed steps, and compare mouse-wheel behavior with Terminal.app. Trace how wheel events are interpreted while the prompt is active; done means scrolling changes the terminal buffer without cycling through previous prompts.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
活躍
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。