diff --git a/terminus-ssh/src/components/sshModal.component.ts b/terminus-ssh/src/components/sshModal.component.ts index 657b439d..1d2e3855 100644 --- a/terminus-ssh/src/components/sshModal.component.ts +++ b/terminus-ssh/src/components/sshModal.component.ts @@ -58,6 +58,10 @@ export class SSHModalComponent { this.close() this.ssh.connect(connection).catch(error => { this.toastr.error(`Could not connect: ${error}`) + }).then(() => { + setTimeout(() => { + this.app.activeTab.emitFocused() + }) }) }