src/vs/workbench/contrib/terminal/browser/terminalInstance.ts/TerminalInstance/shouldPersist
class TerminalInstance:	get shouldPersist(): boolean { return this._processManager.shouldPersist && !this.shellLaunchConfig.isTransient; }