[PR #12097] Add an exportBuffer action #28852

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

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

State: closed
Merged: Yes


This adds an action for the context menu entry we added in #11062. That PR added support for exporting the buffer, exclusively through the tab item's context menu. This adds an action that can additionally be bound, which also can export the buffer to a file. This action accepts a path param. If empty/ommitted, then the Terminal will prompt for the file to export the buffer to.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/12097 **State:** closed **Merged:** Yes --- This adds an action for the context menu entry we added in #11062. That PR added support for exporting the buffer, exclusively through the tab item's context menu. This adds an action that can additionally be bound, which also can export the buffer to a file. This action accepts a `path` param. If empty/ommitted, then the Terminal will prompt for the file to export the buffer to. * Does a part of #9700 * Spec in #11090, but I doubt this is contentious * [x] This will satisfy #12052 * [x] I work here * [x] docs added: https://github.com/MicrosoftDocs/terminal/pull/479
claunia added the pull-request label 2026-01-31 09:31:12 +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#28852