-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Closed
Copy link
Labels
Area-WindowingWindow frame, quake mode, tearoutWindow frame, quake mode, tearoutIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsDoesn't match tag requirementsPriority-2A description (P2)A description (P2)Product-TerminalThe new Windows Terminal.The new Windows Terminal.
Milestone
Description
Description of the new feature
Currently, the session state buffers are saved for whichever window was closed last. If there is one unelevated and one elevated window, when both are closed (to apply Terminal updates or reboot system), buffers are saved for the instance that exited last.
This leads to loss of buffer history for one of the windows that were open during last session – usually the elevated window.
Proposed technical implementation details
The buffers could be kept for both as it's done for session states with state.json and elevated-state.json. The buffers could be written to a separate subdirectory under LocalState directory or using a filename prefix – elevated-{GUID}.txt.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area-WindowingWindow frame, quake mode, tearoutWindow frame, quake mode, tearoutIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsDoesn't match tag requirementsPriority-2A description (P2)A description (P2)Product-TerminalThe new Windows Terminal.The new Windows Terminal.