microsoft / microsoft/terminal

Feature Request: Periodic Buffer Persistence for Crash Recovery

Open
#19,804 0 comments 1 reaction 0 assignees View on GitHub

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

  1. Buffer content should be restored from the most recent periodic save
  2. A message should indicate the session was recovered: [Session recovered - buffer content from HH:MM:SS]
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.