[PR #5865] Implement drag-drop paste for text #26510

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

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

State: closed
Merged: Yes


Summary of the Pull Request

Implements drag-dropping text onto a TermControl, in addition to the already supported drag-drop of files.

References

PR Checklist

Detailed Description of the Pull Request / Additional comments

Oh I also changed "Copy path to file" to "Paste path to file". I thought that actually made more sense here

Validation Steps Performed

  • Tested manually that text and files still work.
**Original Pull Request:** https://github.com/microsoft/terminal/pull/5865 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Implements drag-dropping text onto a `TermControl`, in addition to the already supported drag-drop of files. ## References * [StandardDataFormats](https://docs.microsoft.com/en-us/uwp/api/windows.applicationmodel.datatransfer.standarddataformats?view=winrt-18362) * [StandardDataFormats::Text](https://docs.microsoft.com/en-us/uwp/api/windows.applicationmodel.datatransfer.standarddataformats.text?view=winrt-18362#Windows_ApplicationModel_DataTransfer_StandardDataFormats_Text) * [GetTextAsync](https://docs.microsoft.com/en-us/uwp/api/windows.applicationmodel.datatransfer.datapackageview.gettextasync?view=winrt-18362) ## PR Checklist * [x] Closes #5863 * [x] I work here * [ ] Tests added/passed * [n/a] Requires documentation to be updated ## Detailed Description of the Pull Request / Additional comments Oh I also changed "Copy path to file" to "Paste path to file". I thought that actually made more sense here ## Validation Steps Performed * Tested manually that text and files still work.
claunia added the pull-request label 2026-01-31 09:16:30 +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#26510