[Bug] Mouse reporting escape sequences inserted into prompt text

Status Closed — duplicate
Maintainer reply None cached
Activity 3 comments · opened Nov 19, 2025 · closed Nov 23, 2025

Bug Description
Claude code seems to trigger mouse reporting into a bad state, which causes mouse actions to be inserted as escape sequences into the prompt text box. Once the bug is triggered, the session becomes very difficult to use as modifier keys are also sent as escape sequences. This started happening yesterday.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.0.46
  • Feedback ID: 022a31a9-fe6f-423c-ad66-61be302a2378

Errors

[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at IE (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1105:4489)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1105:4217\n    at Array.map (<anonymous>)\n    at QD (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1105:4208)\n    at Object.y81 [as renderToolResultMessage] (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2446:597)\n    at a02 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1144:9680)\n    at lq (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:105:19416)\n    at hQA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:42839)\n    at p9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38371)\n    at Na (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38299)","timestamp":"2025-11-19T15:08:21.169Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at IE (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1105:4489)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1105:4217\n    at Array.map (<anonymous>)\n    at QD (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1105:4208)\n    at X32 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1828:3681)\n    at lq (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:105:19416)\n    at hQA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:42839)\n    at p9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38371)\n    at Na (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38299)\n    at BN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38153)","timestamp":"2025-11-19T15:08:21.196Z"}]

View original on GitHub ↗

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