-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Session contents restored messages should not be shown when only shell integration activated message has been written to the terminal #142855
Comments
More broadly, I find myself clearing the terminals when I restart because the |
Not sure why this is happening as the message doesn't cause input, can reproduce though.
I restart them sometimes to get into a "clean state", the |
I use terminal clear. I'm proposing not showing them at all because that is what I'd prefer. Isn't it obvious that they're restored when they're restored? I realize other terminals also show the session restored banner, but don't think it adds to the experience; in fact, it detracts from mine. |
Discussed offline, to avoid this problem so it's less of an issue how loud the message is: We could discard that middle section if the terminal has had no input so only the following would show after multiple reloads without terminal interaction:
|
This makes terminals only restore their current session's buffer if there was some interaction by the user, similar to how the initial process doesn't get revived if no interaction occurred. Fixes #142855
This makes terminals only restore their current session's buffer if there was some interaction by the user, similar to how the initial process doesn't get revived if no interaction occurred. Fixes #142855
The text was updated successfully, but these errors were encountered: