Skip to content

Windows: copy/paste broken in terminal — copy fails, paste duplicates text #78

@jcanizalez

Description

@jcanizalez

Problem

Terminal copy/paste is broken on Windows:

  1. Copy doesn't work — selecting text in a terminal session and copying does nothing
  2. Paste duplicates text — pasting into the terminal sometimes inserts the clipboard content twice

Expected Behavior

  • Copy from terminal selection should work (Ctrl+C or right-click copy)
  • Paste should insert clipboard content exactly once

Context

Reported alongside #75 (Windows installer). Likely related to how xterm.js handles clipboard events on Windows — VS Code's xterm.js integration has similar edge cases worth researching.

Environment

  • Platform: Windows
  • Terminal: xterm.js + node-pty

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