Zoltan Zombory
435a56be10
feat(terminal): copy OSC 52 clipboard writes from the PTY into the browser clipboard
...
Programs inside the terminal (Claude Code /copy, tmux yanks with
set-clipboard on, vim) set the clipboard with OSC 52. xterm.js registers no
handler for 52, so on a headless host (no xclip, no DISPLAY) those copies
were silently dropped and never reached the remote browser.
Register one handler on the main terminal and on every TerminalTile (split
Pane B, tile grid). It decodes the base64 payload as UTF-8 and copies it
through _copyText, falling back to the manual-copy dialog when the browser
blocks the write. Read queries (`?`) are refused, and nothing is copied
during a buffer replay, so a tab switch or reconnect never re-copies old
OSC 52 sequences.
2026-10-12 20:39:07 +02:00
..
2026-10-10 03:40:20 +02:00
2026-09-28 17:10:12 +02:00
2026-06-10 18:06:45 +02:00
2026-09-06 21:53:38 +02:00
2026-10-09 23:28:55 +02:00
2026-10-09 12:59:48 +02:00
2026-10-09 05:48:05 +02:00
2026-10-10 04:20:46 +02:00
2026-10-12 20:39:07 +02:00
2026-09-07 19:09:24 +02:00
2026-08-09 23:05:11 +02:00
2026-04-23 11:57:00 +02:00
2026-05-31 05:17:07 +02:00
2026-07-12 17:50:21 +02:00
2026-09-27 07:55:29 -04:00
2026-04-23 11:57:00 +02:00
2026-08-10 11:19:51 +02:00
2026-09-24 01:48:33 +02:00
2026-10-09 12:59:56 +02:00
2026-08-22 14:13:58 +02:00
2026-10-09 12:59:56 +02:00
2026-10-09 12:59:48 +02:00
2026-09-06 21:53:38 +02:00
2026-09-19 12:27:01 +02:00
2026-09-19 12:32:50 +02:00
2026-09-17 13:41:19 +08:00
2026-09-04 16:08:57 -04:00
2026-10-07 19:27:45 +02:00
2026-08-25 19:01:29 +02:00
2026-08-25 18:30:41 +02:00
2026-08-25 19:01:29 +02:00
2026-09-05 16:22:54 +02:00
2026-09-28 16:28:29 +02:00
2026-06-14 08:43:57 +02:00
2026-06-14 08:43:57 +02:00
2026-07-12 17:50:21 +02:00
2026-06-09 20:02:17 +02:00
2026-09-14 17:06:42 +02:00
2026-10-09 17:48:28 +02:00
2026-10-09 05:36:57 +02:00
2026-10-05 20:00:30 +02:00
2026-10-09 14:10:54 -04:00
2026-07-09 11:47:38 -04:00
2026-08-09 18:03:13 +02:00
2026-10-09 18:42:00 +08:00
2026-10-10 03:41:38 +02:00
2026-10-07 19:41:56 +02:00
2026-02-18 12:51:35 +01:00
2026-10-04 19:05:43 +02:00
2026-08-28 11:32:30 -05:00
2026-04-23 11:57:00 +02:00
2026-03-21 07:20:18 +01:00
2026-03-27 01:43:59 +01:00
2026-09-24 22:18:07 +02:00
2026-08-16 20:27:38 +02:00
2026-08-07 01:34:47 +02:00
2026-07-20 12:33:12 +02:00
2026-04-23 11:57:00 +02:00
2026-03-01 04:04:35 +01:00
2026-08-20 12:58:17 -04:00
2026-03-01 04:04:35 +01:00
2026-03-07 07:33:44 +01:00
2026-03-26 22:50:25 +01:00
2026-06-25 00:26:06 +02:00
2026-08-09 23:05:11 +02:00
2026-08-09 23:05:11 +02:00
2026-08-09 23:05:11 +02:00
2026-09-24 22:18:07 +02:00
2026-09-14 23:42:06 +02:00
2026-09-15 14:20:31 +02:00
2026-08-29 17:43:07 -05:00
2026-09-14 23:42:06 +02:00
2026-09-19 12:18:40 +02:00
2026-03-01 17:26:31 +01:00
2026-08-18 10:59:44 -04:00
2026-03-01 04:04:35 +01:00
2026-03-01 04:04:35 +01:00
2026-08-09 15:31:02 +02:00
2026-03-07 07:33:44 +01:00
2026-08-10 03:15:13 +02:00
2026-08-09 01:34:55 +02:00
2026-09-28 16:18:27 +02:00
2026-06-14 09:05:17 +02:00
2026-09-15 17:59:16 +02:00
2026-06-10 20:41:34 +02:00
2026-10-04 19:05:43 +02:00
2026-10-04 19:05:43 +02:00
2026-10-07 21:16:53 +02:00
2026-09-19 18:05:51 +08:00
2026-06-06 03:53:54 +02:00
2026-09-14 23:46:28 +02:00
2026-07-17 16:21:16 -04:00
2026-07-09 11:49:23 -04:00
2026-09-19 11:38:59 +02:00
2026-03-01 04:04:35 +01:00
2026-09-01 02:31:26 +02:00
2026-10-10 04:20:46 +02:00
2026-08-23 14:46:10 -04:00
2026-10-10 04:20:46 +02:00
2026-08-23 14:46:10 -04:00
2026-08-23 14:46:10 -04:00
2026-08-24 00:59:48 +02:00
2026-08-23 14:46:10 -04:00
2026-04-23 11:57:00 +02:00
2026-04-23 11:57:00 +02:00
2026-01-24 04:36:18 +01:00
2026-03-12 15:50:40 +01:00
2026-10-10 04:20:46 +02:00
2026-08-09 23:05:11 +02:00
2026-08-05 01:53:43 +02:00
2026-03-03 22:40:18 +01:00
2026-06-10 20:41:34 +02:00
2026-09-14 15:59:00 +02:00
2026-07-20 12:33:12 +02:00
2026-10-04 23:52:41 +02:00
2026-09-04 15:21:13 +02:00
2026-07-27 17:06:36 +02:00
2026-06-18 10:00:04 +02:00