[Bug] Scroll input bound to message history prevents viewing previous results

Resolved 💬 16 comments Opened Oct 30, 2025 by temujin9 Closed Apr 7, 2026

Bug Description
I'm unable to scroll back up to look at old results, because somehow you have bound the scroll up and scroll down to your input field. that's super-unhelpful, please revert that change.

Environment Info

  • Platform: linux
  • Terminal: konsole
  • Version: 2.0.29
  • Feedback ID: 6b6b3998-9913-4a31-80a9-f1ec8288381e

Errors

[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at YD (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4413)\n    at file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:5401\n    at Array.map (<anonymous>)\n    at YD (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:5372)\n    at file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:5288\n    at Array.map (<anonymous>)\n    at YD (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:5277)\n    at file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4141\n    at Array.map (<anonymous>)\n    at MF (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4132)","timestamp":"2025-10-30T16:33:20.858Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: hcl\n    at YD (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4413)\n    at file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4141\n    at Array.map (<anonymous>)\n    at MF (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4132)\n    at YTQ (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1797:6306)\n    at Vw (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:73:19414)\n    at Io (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:42806)\n    at T9 (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:38347)\n    at zc (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:38275)\n    at Lw (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:38129)","timestamp":"2025-10-30T16:33:20.943Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: hcl\n    at YD (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4413)\n    at file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4141\n    at Array.map (<anonymous>)\n    at MF (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4132)\n    at YTQ (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1797:6306)\n    at Vw (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:73:19414)\n    at Io (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:42806)\n    at T9 (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:38347)\n    at zc (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:38275)\n    at Lw (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:38129)","timestamp":"2025-10-30T16:33:20.959Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: hcl\n    at YD (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4413)\n    at file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4141\n    at Array.map (<anonymous>)\n    at MF (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4132)\n    at YTQ (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1797:6306)\n    at Vw (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:73:19414)\n    at Io (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:42806)\n    at T9 (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:38347)\n    at zc (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:38275)\n    at Lw (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:38129)","timestamp":"2025-10-30T16:33:20.963Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at YD (file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4413)\n    at file:///home/temujin9/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4141\n    at Array.map (<anonymous>)\n    at

Note: Error logs were truncated.

View original on GitHub ↗

16 Comments

github-actions[bot] · 8 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/5368
  2. https://github.com/anthropics/claude-code/issues/9902
  3. https://github.com/anthropics/claude-code/issues/9001

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

temujin9 · 8 months ago

This seems contained to a specific session, but persists across separate claude code runs, provided the session is resumed. It does not immediately recur with similar tasks in the same project folder.

The binding of the scroll wheel to up-down on commands persists in the terminal which claude ran in, but goes away with a reset, suggesting it is in some way connected to terminal settings. The reset doesn't prevent a resumption from retriggering the issue.

monkeyden · 8 months ago

Same issue here. Let me ask you, have you added a lot of configuration (hooks, commands, etc.) to Claude Code? I just finished a reusable Claude Code configuration to help rebuild context after compaction, and do some other things. Shortly after I deployed it to this project, I began to see the issue, and not once before I deployed it.

temujin9 · 8 months ago

No, I'm using pretty stock Claude with only one MCP (Grafana). I think it was the result of interpreting terminal characters in the output of a command, and then preserving them somehow in the displayed context.

github-actions[bot] · 7 months ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

btolva · 6 months ago

Still seeing this on Claude Code 2.1.3 with GNU Screen 5.0.1.

mariuslacatus · 5 months ago

This happens on macos as well. Quite frustrating to have to use Ctrl+B+[ to be able to scroll up.

artpods56 · 5 months ago

Same issue running claude code in tmux session

ryanshepps · 5 months ago

Also running into the same issue in a tmux session

ruben-ondaloop · 5 months ago

Environment:

  • Claude Code: 2.1.34
  • OS: Fedora 43 (Linux 6.17.12-300.fc43.x86_64)
  • tmux: 3.5a
  • TERM: tmux-256color
  • tmux mouse: on (default config)

Behavior:
When running Claude Code inside a tmux session with set -g mouse on, scrolling the mouse wheel cycles through the input
box's message history (previous prompts) instead of scrolling the conversation output vertically. Outside of tmux, mouse
scroll works as expected.

rsdenijs · 5 months ago

Is there a workaround/tmux setting we can use to make this work?

rickycambrian · 5 months ago

Also interested in this since claude code agent teams work much better out of the box than a normal terminal, haven't figured out a good solution to this

tobobo · 4 months ago

I added the following to my ~/.tmux.conf and it fixed it:

set -g mouse on
set -g history-limit 100000

Then, restart your tmux server, or load the config in an active session by pressing ctrl-b, type :source-file ~/.tmux.conf, and hit return

powyncify · 4 months ago

We no longer see this problem in

  • Claude Code on Windows
  • Claude Code on WSL
  • Claude Code on tmux on WSL
github-actions[bot] · 3 months ago

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

github-actions[bot] · 3 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.