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 摘要。