Missing option for disabling terminal restoration
See original GitHub issueWhenever I open a project, chances are that a terminal will automatically open because the previous time I opened that project, its window had 1 or more terminals. This doesn’t work for me:
- This “feature” is unpredictable. I may open a project 1 week or month later, who remembers if that window had a terminal?
- It’s useless. If I want a terminal I’m a shortcut away from it. If I don’t need it however, I have to focus to it and close it.
- I use my Terminals extension for managing terminals, I absolutely never need an empty terminal automatically open at startup.
What about a terminal.restoreTerminal: boolean
option for disabling this?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:24 (20 by maintainers)
Top Results From Across the Web
How to disable session restore message in vscode terminal
This feature can be disabled using the following two lines. Open "settings" -> Enter these commands to revert the VSCode behavior.
Read more >Disabling and Enabling System Integrity Protection
To disable SIP, do the following: Restart your computer in Recovery mode. Launch Terminal from the Utilities menu. Run the command csrutil disable...
Read more >Clear terminal and prevent restoration - Apple StackExchange
Final Solution: Remove the Terminal saved state, located in: ~/Library/Saved Application State/com.apple.Terminal.savedState/*.
Read more >How to Disable / Enable Windows Recovery Environment on ...
By disabling the Windows Recovery Environment, you the Advanced options menu will no longer contain the option to 'Reset this PC'.
Read more >How to Completely Disable Gatekeeper in macOS - MakeUseOf
To restore the legacy setting that lets you completely disable Gatekeeper, you'll need to run a command in Terminal Terminal is macOS's ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A tangential feature to this is persistent sessions, these can be disabled with the following setting:
@agausmann the python extension will soon be able to opt-out of the feature which sounds like it might make sense for certain Python terminals. @brettcannon your team might want to adopt this proposal: https://github.com/microsoft/vscode/issues/118726 (it hasn’t yet been to the API sync so it could change in early Jan).