This commit is contained in:
Eugene Pankov
2019-09-18 21:04:18 +02:00
parent 7e92d4c49f
commit d069f39bc7
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ export class SSHTabComponent extends BaseTerminalTabComponent {
this.write(`Connecting to ${this.connection.host}`)
const interval = setInterval(() => this.write('.'), 500)
try {
await this.ssh.connectSession(this.session, message => {
await this.ssh.connectSession(this.session, (message: string) => {
this.write('\r\n' + message)
})
} catch (e) {