microsoft / microsoft/vscode

Feature Request: Add "Reopen Closed Terminal" command (like Ctrl+Shift+T in web browsers)

Open
#335,693 0 comments 0 reactions 1 assignee Claimed by @meganrogge View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

### Problem
Accidentally closing an integrated terminal tab immediately purges all scrollback history/output, with no way to restore it.

### Proposed Solution
Add a shortcut to reopen recently closed terminal tabs (similar to `Ctrl+Shift+T` tab restoration in web browsers like Chrome), restoring the closed tab context and preserving recent scrollback buffer history.

### Alternatives Considered
Setting `"terminal.integrated.keepTerminalOutputOnKill": "always"` prevents major loss (some times) on accidental clicks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.