[BUG] Inputs mouse movements in chat area when switching from /background or agents' view

Resolved 💬 1 comment Opened May 26, 2026 by ang-attentive Closed Jun 27, 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?

<!-- Failed to upload "image.png" -->

  • Terminal chat or text becomes non-selectable
  • Write mouse movements in the chat area of claude-code when coming from /background or agents' view

What Should Happen?

It should not take mouse movements as text in the chat area.

Error Messages/Logs

Steps to Reproduce

In any chat session with claude code

``/background``

Or

<- arrow in chat session

When returning back to the chat-session starts recording mouse movements.

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.150 (Claude Code)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗