-
Notifications
You must be signed in to change notification settings - Fork 29.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option onExit
in terminal.integrated.persistentSessionReviveProcess
also restores terminal buffer when window is closed and then reopened
#134062
Comments
is it the last window that you are closing? if so, according to the description, it should restore. |
I'm using |
meaning if you have several vscode windows open then closing and reopening that window with but if you have only one vscode window open and you close and re-open it, then it should restore the terminals |
Ah I see, thanks. Can you tell how do I reopen a window which I just closed? |
I think VS code will automatically open the last window you had open when you next open the app |
That's true, but I only have to close one window (which is not the last window) and so the app will still be open. I guess what I'm asking is how do I restore a single window while other windows and the app are still open? |
|
I'm not sure how to test this behavior as I'm not clear on how to accomplish the "reopen" part here for any window. |
closing this because it's been 7 days since a follow up. if you want to follow up on this, feel free to reopen @karrtikr |
Apologies for the delay, I can confirm it works fine👍 |
Testing #133516
There're two options:
onExitAndWindowClose
andonExit
, both seem to be working the some way. I'm assuming if I close the Window usingClose Window
command,onExit
should not apply and onlyonExitAndWindowClose
should.The text was updated successfully, but these errors were encountered: