-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Add another session option that prevents saving (or loading) buffer contents #18757
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
Comments
I tried editing permissions of Edit: I checked the settings.json schema: |
Now that I've disabled permissions to prevent this issue, I get a notification every time I launch that says it is lacking permissions. Of course it is lacking permissions to fix the buffering bug. This terminal history needs to be disabled. I want the terminal to save what sessions I had open the last time I opened it, but not display any of the buffered text. That could potentially be a security issue for connecting to SSH servers. |
Thanks! Yes, this is definitely something we could do better. We should introduce a third Beyond the main issue, your use case looks similar to #16303 (the ability to save and reload layouts). You may want to track that one as well. |
FWIW, I am de-editorializing your title. |
Haha. That is totally fair, I let my emotions write that title. My mistake, I'll own that. |
Windows Terminal version
1.22.10731.0
Windows build number
10.0.26100
Other Software
No response
Steps to reproduce
Simply set the setting in Startup settings.
When Terminal Start: Open windows from a previous session
Expected Behavior
One would expect this to recreate the same sessions you had open last time. You know, just fresh and clean new sessions like it used to. That is no longer the case.
Actual Behavior
This now saves the output from the last time the profile was open and makes everything look really messy and annoying. See attached screenshots.
The reason this is important to me is that I use Windows Terminal as a SSH Session Manager. I have a number of profiles available that simply launch an SSH session. Normally, it is not a huge deal for the SSH session to run in the background, but this makes it look ugly and disorganized.
The text was updated successfully, but these errors were encountered: