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

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/5865
Author: @zadjii-msft
Created: 5/12/2020
Status: Merged
Merged: 5/12/2020
Merged by: @DHowett-MSFT

Base: masterHead: dev/migrie/f/5863-paste-text


📝 Commits (2)

  • 64168c2 Implement drag-drop paste for text
  • 4d4957f update the comment here

📊 Changes

2 files changed (+55 additions, -31 deletions)

View changed files

📝 src/cascadia/TerminalControl/Resources/en-US/Resources.resw (+32 -28)
📝 src/cascadia/TerminalControl/TermControl.cpp (+23 -3)

📄 Description

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.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/5865 **Author:** [@zadjii-msft](https://github.com/zadjii-msft) **Created:** 5/12/2020 **Status:** ✅ Merged **Merged:** 5/12/2020 **Merged by:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Base:** `master` ← **Head:** `dev/migrie/f/5863-paste-text` --- ### 📝 Commits (2) - [`64168c2`](https://github.com/microsoft/terminal/commit/64168c249c052f7095d093e4265be2e14b6db0cc) Implement drag-drop paste for text - [`4d4957f`](https://github.com/microsoft/terminal/commit/4d4957fa1e605c07282a8bb5083a5416e090b7b5) update the comment here ### 📊 Changes **2 files changed** (+55 additions, -31 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalControl/Resources/en-US/Resources.resw` (+32 -28) 📝 `src/cascadia/TerminalControl/TermControl.cpp` (+23 -3) </details> ### 📄 Description ## 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:16:29 +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#26505