Rewrite the copy-to-clipboard functionality to use the Win32 functions #21250

Open
opened 2026-01-31 07:37:42 +00:00 by claunia · 0 comments
Owner

Originally created by @dgloverproofpoint on GitHub (Feb 14, 2024).

Windows Terminal version

1.18.10301.0

Windows build number

10.0.19045.3930

Other Software

No response

Steps to reproduce

  1. Select output
  2. [CTRL + C] or [right click] or [CTRL + Shift + P (command palette -> "Copy Text" option]
  3. Neither [CTRL + V] pastes nor does [Win + V] have the selected and presumably copied text in the clipboard

Expected Behavior

Expecting copy from terminal into Windows Clipboard and paste into other programs to work as normal.

Actual Behavior

No text copied to clipboard. I can, at times, get it to continue functionality if I un-snap the Windows Terminal window from fullscreen view but this is only intermittently successful.

This happens whether my shell is ssh'ed to another machine or running locally.

Other programs continue to copy to clipboard and paste to other programs perfectly fine.

Originally created by @dgloverproofpoint on GitHub (Feb 14, 2024). ### Windows Terminal version 1.18.10301.0 ### Windows build number 10.0.19045.3930 ### Other Software _No response_ ### Steps to reproduce 1) Select output 2) [CTRL + C] or [right click] or [CTRL + Shift + P (command palette -> "Copy Text" option] 3) Neither [CTRL + V] pastes nor does [Win + V] have the selected and presumably copied text in the clipboard ### Expected Behavior Expecting copy from terminal into Windows Clipboard and paste into other programs to work as normal. ### Actual Behavior No text copied to clipboard. I can, at times, get it to continue functionality if I un-snap the Windows Terminal window from fullscreen view but this is only intermittently successful. This happens whether my shell is ssh'ed to another machine or running locally. Other programs continue to copy to clipboard and paste to other programs perfectly fine.
claunia added the Issue-TaskNeeds-Tag-FixArea-InteractionProduct-Terminal labels 2026-01-31 07:37:43 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21250