Skip to content

Don't trim bracketed pastes set via OSC52 #19067

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lhecker
Copy link
Member

@lhecker lhecker commented Jun 24, 2025

  • Moves clipboard writing from ControlCore to TerminalPage.
    This requires adding a bunch of event types and logic.
  • Store the clipboard counter and compare it during pastes.

Closes microsoft/edit#279

Validation Steps Performed

  • Launch Microsoft Edit and copy text with a trailing newline
  • Paste it with Ctrl+Shift+V
  • It's pasted as it was copied ✅

@lhecker lhecker added Area-TerminalControl Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.) Product-Terminal The new Windows Terminal. Issue-Task It's a feature request, but it doesn't really need a major design. labels Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-TerminalControl Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.) Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Copy & Paste misses terminal line break
1 participant