Files
headquarter/openspec/changes/fix-web-terminal-clipboard/change.md
T
alex d14cdc1151 fix(terminal): support browser clipboard shortcuts
Copy selected terminal output with Ctrl/Cmd+C without sending an interrupt, and route browser paste consistently through the terminal transport.
2026-07-22 12:52:19 +02:00

675 B

Fix Web Terminal Clipboard

Problem

Users cannot reliably copy terminal output from the browser terminal. Browser copy shortcuts may be forwarded to the terminal as input instead of copying the xterm selection, and paste behavior differs by bracketed-paste mode.

Required behavior

  • Copying a selected terminal region with standard browser shortcuts (Ctrl/Cmd+C) copies text to the system clipboard without sending an interrupt to the terminal.
  • Copy requests expose the xterm selection as plain text.
  • Pasting plain text is handled once and follows bracketed-paste mode when enabled.
  • Normal terminal interrupts still work when there is no active selection.