Skip to content

Terminal bug - Copy pasting is duplicated #30

@PylotLight

Description

@PylotLight

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions