added scrollback saving

This commit is contained in:
Eugene Pankov
2020-02-05 13:37:04 +03:00
parent 32aaa3d0ff
commit 498564be9a
10 changed files with 62 additions and 2 deletions

View File

@@ -69,6 +69,7 @@ export class SSHTabComponent extends BaseTerminalTabComponent {
return {
type: 'app:ssh-tab',
connection: this.connection,
savedState: this.frontend.saveState(),
}
}

View File

@@ -10,7 +10,10 @@ export class RecoveryProvider extends TabRecoveryProvider {
if (recoveryToken && recoveryToken.type === 'app:ssh-tab') {
return {
type: SSHTabComponent,
options: { connection: recoveryToken.connection },
options: {
connection: recoveryToken.connection,
savedState: recoveryToken.savedState,
},
}
}
return null