Файли
openidea/docs
l0ng-ai e3f8902de1 feat(terminal): let programs set the clipboard with OSC 52
Programs that can't reach the local clipboard (tmux with set-clipboard on,
Neovim over SSH, TUI multiplexers) emit OSC 52 and expect the terminal to
write it; the sequence was discarded, so copying inside them never reached
the system clipboard, notably in SSH remote projects.

The terminal now decodes OSC 52 writes (clipboard, primary or select
selection, UTF-8) and puts the text on the clipboard. A read request (?)
is never answered, cut-buffer-only, invalid and over-1-MiB payloads are
ignored. Settings > Tools > Terminal gets "Let programs copy to the
clipboard (OSC 52)", on by default.

Fixes #7143
2026-12-01 15:07:27 +08:00
..
2026-12-01 11:42:31 +08:00