[PR #16598] Implement buffer restore #30952

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

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

State: closed
Merged: Yes


This changeset allows Windows Terminal to dump its buffer contents as
UTF-16LE VT text onto disk and restore it later. This functionality is
enabled whenever persistedWindowLayout is being used.

Closes #961
Closes #16741

Validation Steps Performed

  • Open multiple windows with multiple tabs and restart the app
    Everything's restored
  • Reopen a tab with output from RenderingTests.exe
    Everything's restored
  • Closing tabs and windows with Ctrl+W deletes their buffer dumps
  • Closing tabs doesn't create buffer dumps
**Original Pull Request:** https://github.com/microsoft/terminal/pull/16598 **State:** closed **Merged:** Yes --- This changeset allows Windows Terminal to dump its buffer contents as UTF-16LE VT text onto disk and restore it later. This functionality is enabled whenever `persistedWindowLayout` is being used. Closes #961 Closes #16741 ## Validation Steps Performed * Open multiple windows with multiple tabs and restart the app Everything's restored ✅ * Reopen a tab with output from `RenderingTests.exe` Everything's restored ✅ * Closing tabs and windows with Ctrl+W deletes their buffer dumps ✅ * Closing tabs doesn't create buffer dumps ✅
claunia added the pull-request label 2026-01-31 09:44:03 +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#30952