[BUG]
Resolved 💬 3 comments Opened May 5, 2026 by JCKaltw Closed May 9, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Input history navigation cannot be disabled — mouse scroll clobbers typed input
Problem
The in-session input history (up/down arrow cycling through previous prompts) cannot be disabled. This causes several UX problems:
- Mouse scroll triggers history navigation — scrolling the mouse wheel (or trackpad) sends arrow key events that cycle through previous inputs, clobbering whatever is currently typed
- Screen resizes during history cycling — previous entries of different lengths cause the input area to resize, losing visual context
- No setting to disable it —
"history": falsein~/.claude/settings.jsononly controls session transcript persistence, not in-session input history navigation
Expected behavior
There should be a setting (e.g., "inputHistory": false) to disable in-session input history navigation entirely, so that up/down arrows only move the cursor within multiline input.
Environment
- Claude Code CLI (terminal)
- macOS (Darwin 24.6.0)
- Shell: zsh
- Terminal: mac console in tmux session
Workaround
None found. The "history": false setting does not affect this behavior.
What Should Happen?
Expected behavior
There should be a setting (e.g., "inputHistory": false) to disable in-session input history navigation entirely, so that up/down arrows only move the cursor within multiline input.
Error Messages/Logs
Steps to Reproduce
- Open Claude Code CLI in a terminal
- Send a few prompts (so there is input history to cycle through)
- Start typing a new prompt
- Scroll the mouse wheel or trackpad while the cursor is in the input area
- Observe: the typed text is replaced by a previous prompt from history
- Also observe: the input area resizes to fit the historical entry, causing the screen to jump
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.92
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗