[BUG] OSC 52 + MobaXterm issue

Resolved 💬 4 comments Opened May 21, 2026 by cweng-IAA Closed Jun 1, 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?

Terminal: MobaXterm (latest version, WSL local tab — not SSH)
Claude Code: 2.1.146
Symptom: OSC 52 clipboard not supported — "sent N chars via OSC 52" message appears but nothing reaches Windows clipboard; highlight-to-copy and right-click paste both broken inside Claude Code session
Workaround: Shift+Insert works for 'paste'

Copy/Paste was still working last week.

What Should Happen?

highlight to copy and right click to paste should work in MobaXterm

Error Messages/Logs

Steps to Reproduce

In MobaXterm (WSL, Ubuntu 22)
Open Claude Code
Try highlighting text to copy → test paste somewhere >> not working
Try right-click to paste something in >> not working

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.146

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

MobaXterm (WSL, Ubuntu 22)

View original on GitHub ↗

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