{"version":"2.1.296","anchor":"linux-clipboard-skip-osc-52-on-vte-terminals","canonical_anchor":"linux-clipboard-skip-osc-52-on-vte-terminals","heading":"Copying no longer sends OSC 52 in GNOME Terminal and similar terminals","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.296\/e\/linux-clipboard-skip-osc-52-on-vte-terminals","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.296","markdown":"### Copying no longer sends OSC 52 in GNOME Terminal and similar terminals\n\nOn 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\n\n**What**\n\nOSC 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.\n\nOn Linux or WSL, Claude Code now skips OSC 52 when copying, in these conditions:\n\n- the copy through the system's own clipboard tool succeeded\n\n- the terminal looks like an xterm-style terminal\n\n- there is no sign of Alacritty, kitty or WezTerm\n\nThe 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.\n\n**Why**\n\nThis is aimed at stray characters or escape codes appearing in GNOME Terminal after you copy something.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}