Feature Request: Rich Text Format (RTF) Copy #3492

Open
opened 2026-01-30 23:22:26 +00:00 by claunia · 0 comments
Owner

Originally created by @carlos-zamora on GitHub (Aug 20, 2019).

Description of the new feature/enhancement

Copy RTF data from selection. Useful for pasting text over to MS Word (or something similar).

Split off from #1146 for clarity.

Resources:

Copy and Paste Docs
DataPackage Docs (how to actually save the stuff. This is probably the more important doc)

Proposed technical implementation details (optional)

So, looking at Clipboard.cpp under ConHost's InteractivityWin32 project, should cover most of what is done. We're just slightly different in that we're using the UWP Clipboard API but that should actually make a lot of it much easier.

The data should already be saved in data in Terminal::RetrieveSelectedTextFromBuffer(bool). We just need to actually save it properly.

Originally created by @carlos-zamora on GitHub (Aug 20, 2019). # Description of the new feature/enhancement Copy RTF data from selection. Useful for pasting text over to MS Word (or something similar). Split off from #1146 for clarity. Resources: Copy and Paste Docs DataPackage Docs (how to actually save the stuff. This is probably the more important doc) # Proposed technical implementation details (optional) So, looking at Clipboard.cpp under ConHost's InteractivityWin32 project, should cover most of what is done. We're just slightly different in that we're using the UWP Clipboard API but that should actually make a lot of it much easier. The data should already be saved in data in Terminal::RetrieveSelectedTextFromBuffer(bool). We just need to actually save it properly.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3492