agent-orchestrator/packages/web/src
suraj-markup 09e2c2b540 fix(terminal): preserve selection highlight by buffering after selection exists
Buffer incoming terminal.write() only after onSelectionChange reports
a non-empty selection — NOT during mousedown. This lets xterm.js
render the selection highlight normally, then prevents incoming data
from clearing it. The buffer flushes when the user clears the
selection (click/keypress) or after a 5s safety timeout.

Previous attempts broke because they buffered during mousedown which
prevented xterm.js from rendering the highlight in the first place.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 01:08:24 +05:30
..
__tests__ feat(web): redesign dashboard, session detail, and orchestrator terminal (#125) 2026-02-20 18:43:57 +05:30
app feat(web): subscribe Dashboard to SSE for real-time session updates (#249) 2026-03-01 20:04:57 +05:30
components fix(terminal): preserve selection highlight by buffering after selection exists 2026-03-02 01:08:24 +05:30
hooks feat(web): subscribe Dashboard to SSE for real-time session updates (#249) 2026-03-01 20:04:57 +05:30
lib feat(web): redesign dashboard, session detail, and orchestrator terminal (#125) 2026-02-20 18:43:57 +05:30
vitest.d.ts fix: upgrade @testing-library/jest-dom for vitest 2.x type compatibility (#21) 2026-02-14 14:40:44 +05:30