[PR #2486] Bugfix: Copy data should persist after Windows Terminal Closes #24946

Open
opened 2026-01-31 09:06:18 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/2486

State: closed
Merged: Yes


Summary of the Pull Request

Turns out, you need to call Clipboard::Flush(). This is apparently a very common issue with the UWP Clipboard (link).

PR Checklist

Detailed Description of the Pull Request / Additional comments

N/A

Validation Steps Performed

Manual test of repro defined in bug report.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/2486 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Turns out, you need to call `Clipboard::Flush()`. This is apparently a very common issue with the UWP Clipboard ([link](https://stackoverflow.com/questions/31781019/clipboard-content-of-closed-windows-universal-app)). ## PR Checklist * [x] Closes #1644 * [x] CLA signed * [x] ~Tests added/passed~ * [x] ~Requires documentation to be updated~ * [x] I am a core contributor <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments N/A ## Validation Steps Performed Manual test of repro defined in bug report.
claunia added the pull-request label 2026-01-31 09:06:18 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#24946