Trackpad scrolling triggers Up/Down command history after /clear
Status Open
Reported on v2.1.263
Maintainer reply None cached
Activity 1 comment · opened Sep 8, 2026
Description
After running /clear, trackpad scrolling is incorrectly interpreted as Up/Down arrow key presses, which scrolls through previous commands and can trigger message sending instead of normal scroll behavior.
Steps to reproduce
- Use Claude Code in iTerm2
- Run
/clear - Scroll with trackpad
Expected: Normal scrolling behavior
Actual: Scroll events are interpreted as Up/Down arrows, cycling through command history and occasionally sending messages
Environment
- Claude Code version: 2.1.263
- macOS: 26.6.2 (Build 25G83)
- Terminal: iTerm2
- Model: claude-opus-4-6
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗