From a2128ca1f22fb593e2cc3df975d81fa6219ebe53 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Sun, 27 Jan 2019 22:56:50 +0100 Subject: [PATCH] use ssh connection name for the tab's title (fixes #621) --- terminus-ssh/src/components/sshTab.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terminus-ssh/src/components/sshTab.component.ts b/terminus-ssh/src/components/sshTab.component.ts index 24c8ef92..4950b068 100644 --- a/terminus-ssh/src/components/sshTab.component.ts +++ b/terminus-ssh/src/components/sshTab.component.ts @@ -26,6 +26,10 @@ export class SSHTabComponent extends BaseTerminalTabComponent { }) super.ngOnInit() + + setImmediate(() => { + this.setTitle(this.connection.name) + }) } async initializeSession () {