Merge pull request #152114 from microsoft/tyriar/152087

Mention history in terminal persistence settings
This commit is contained in:
Daniel Imms 2022-06-14 18:02:05 -07:00 committed by GitHub
commit 24553232b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -500,12 +500,12 @@ const terminalConfiguration: IConfigurationNode = {
]
},
[TerminalSettingId.EnablePersistentSessions]: {
description: localize('terminal.integrated.enablePersistentSessions', "Persist terminal sessions for the workspace across window reloads."),
description: localize('terminal.integrated.enablePersistentSessions', "Persist terminal sessions/history for the workspace across window reloads."),
type: 'boolean',
default: true
},
[TerminalSettingId.PersistentSessionReviveProcess]: {
markdownDescription: localize('terminal.integrated.persistentSessionReviveProcess', "When the terminal process must be shutdown (eg. on window or application close), this determines when the previous terminal session contents should be restored and processes be recreated when the workspace is next opened.\n\nCaveats:\n\n- Restoring of the process current working directory depends on whether it is supported by the shell.\n- Time to persist the session during shutdown is limited, so it may be aborted when using high-latency remote connections."),
markdownDescription: localize('terminal.integrated.persistentSessionReviveProcess', "When the terminal process must be shutdown (eg. on window or application close), this determines when the previous terminal session contents/history should be restored and processes be recreated when the workspace is next opened.\n\nCaveats:\n\n- Restoring of the process current working directory depends on whether it is supported by the shell.\n- Time to persist the session during shutdown is limited, so it may be aborted when using high-latency remote connections."),
type: 'string',
enum: ['onExit', 'onExitAndWindowClose', 'never'],
markdownEnumDescriptions: [