microsoft / microsoft/terminal
Feature Request: Periodic Buffer Persistence for Crash Recovery
Open
Nobody has claimed this yet.
Area-Settings
Issue-Feature
Priority-3
Product-Terminal
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
- Buffer content should be restored from the most recent periodic save
- A message should indicate the session was recovered:
[Session recovered - buffer content from HH:MM:SS] - Metadata should be displayed showing:
- Working directory at time of crash
- Last command executed (if available)
- Process that was running (e.g.,
pwsh.exe,claude,ssh)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the terminal's existing buffer and session lifecycle code, then determine where periodic saves and crash recovery would integrate. Define how recovered content, timestamp, working directory, last command, and running process are persisted and displayed, and add coverage for recovery behavior before considering the feature complete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100