
I don't want this message appearing session contents restored every time I open terminal. Why can't it restore and just doesn't show any msg or at least provide a option to do it.
This feature can be disabled using the following two lines. Open "settings" -> Enter these commands to revert the VSCode behavior. Set them to never and false.
"terminal.integrated.persistentSessionReviveProcess": "never",
"terminal.integrated.enablePersistentSessions": false

since there's currently no way to disable the message but keeping the functionality, executing clear command on the terminal startup is my current workaround.
for powershell, just add clear command to the profile.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With