[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.
16 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
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. Theresetdoesn't prevent a resumption from retriggering the issue.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.
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.
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.
Still seeing this on Claude Code 2.1.3 with GNU Screen 5.0.1.
This happens on macos as well. Quite frustrating to have to use Ctrl+B+[ to be able to scroll up.
Same issue running claude code in tmux session
Also running into the same issue in a tmux session
Environment:
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.
Is there a workaround/tmux setting we can use to make this work?
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
I added the following to my ~/.tmux.conf and it fixed it:
Then, restart your tmux server, or load the config in an active session by pressing
ctrl-b, type:source-file ~/.tmux.conf, and hit returnWe no longer see this problem in
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
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.