Follow Discord
Sweep 09 Oct 2026 · 17:27Z Build v2.1.296 517 read Stable v2.1.287 Latest v2.1.296 Next v2.1.296 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.296 ·

Copying no longer sends OSC 52 in GNOME Terminal and similar terminals

On Linux and WSL, when the system clipboard copy works in a VTE terminal such as GNOME Terminal, Claude Code no longer also sends OSC 52

You'll notice Improvements
JSON All of v2.1.296
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.296,
ImprovementsSection of the release
What

OSC 52 is a special code a program can print to ask the terminal to copy text to the clipboard. VTE is the building block behind GNOME Terminal and several other Linux terminals.

On Linux or WSL, Claude Code now skips OSC 52 when copying, in these conditions:

  • the copy through the system's own clipboard tool succeeded
  • the terminal looks like an xterm-style terminal
  • there is no sign of Alacritty, kitty or WezTerm

The debug log then shows emit=none(vte). On Linux, Claude Code also now tries the system clipboard tool first. Before, it always sent OSC 52 when not running inside tmux or screen.

Why

This is aimed at stray characters or escape codes appearing in GNOME Terminal after you copy something.

See this entry in the whole of v2.1.296 →

Feedback