When pasting content into the terminal it always pastes twice.
- I've potentially identified the cause of the duplicated paste: the TerminalPanel was manually handling cmd+v on macOS while simultaneously using the ClipboardAddon from xterm.js. Both were sending the pasted text to the backend, resulting in the duplication.
- In a local dev build, I have removed the manual clipboard handlers in apps/desktop/src/terminal-panel.tsx, allowing the ClipboardAddon to handle copying and pasting natively.
When pasting content into the terminal it always pastes twice.