[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:

  1. 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
  2. Screen resizes during history cycling — previous entries of different lengths cause the input area to resize, losing visual context
  3. No setting to disable it"history": false in ~/.claude/settings.json only 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

  1. Open Claude Code CLI in a terminal
  2. Send a few prompts (so there is input history to cycle through)
  3. Start typing a new prompt
  4. Scroll the mouse wheel or trackpad while the cursor is in the input area
  5. Observe: the typed text is replaced by a previous prompt from history
  6. 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_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗