diff --git a/terminus-ssh/src/components/editConnectionModal.component.ts b/terminus-ssh/src/components/editConnectionModal.component.ts index f78eeaa9..2639ef40 100644 --- a/terminus-ssh/src/components/editConnectionModal.component.ts +++ b/terminus-ssh/src/components/editConnectionModal.component.ts @@ -27,22 +27,18 @@ export class EditConnectionModalComponent { this.newScript = { expect: '', send: '' } for (let k of Object.values(SSHAlgorithmType)) { - this.supportedAlgorithms[k] = ALGORITHMS[ - { - [SSHAlgorithmType.KEX]: 'SUPPORTED_KEX', - [SSHAlgorithmType.HOSTKEY]: 'SUPPORTED_SERVER_HOST_KEY', - [SSHAlgorithmType.CIPHER]: 'SUPPORTED_CIPHER', - [SSHAlgorithmType.HMAC]: 'SUPPORTED_HMAC', - }[k] - ] - this.defaultAlgorithms[k] = ALGORITHMS[ - { - [SSHAlgorithmType.KEX]: 'KEX', - [SSHAlgorithmType.HOSTKEY]: 'SERVER_HOST_KEY', - [SSHAlgorithmType.CIPHER]: 'CIPHER', - [SSHAlgorithmType.HMAC]: 'HMAC', - }[k] - ] + this.supportedAlgorithms[k] = ALGORITHMS[{ + [SSHAlgorithmType.KEX]: 'SUPPORTED_KEX', + [SSHAlgorithmType.HOSTKEY]: 'SUPPORTED_SERVER_HOST_KEY', + [SSHAlgorithmType.CIPHER]: 'SUPPORTED_CIPHER', + [SSHAlgorithmType.HMAC]: 'SUPPORTED_HMAC', + }[k]] + this.defaultAlgorithms[k] = ALGORITHMS[{ + [SSHAlgorithmType.KEX]: 'KEX', + [SSHAlgorithmType.HOSTKEY]: 'SERVER_HOST_KEY', + [SSHAlgorithmType.CIPHER]: 'CIPHER', + [SSHAlgorithmType.HMAC]: 'HMAC', + }[k]] } } diff --git a/terminus-terminal/src/frontends/xtermFrontend.ts b/terminus-terminal/src/frontends/xtermFrontend.ts index 94635fe7..59066638 100644 --- a/terminus-terminal/src/frontends/xtermFrontend.ts +++ b/terminus-terminal/src/frontends/xtermFrontend.ts @@ -185,7 +185,7 @@ export class XTermFrontend extends Frontend { } if (config.terminal.ligatures && this.xterm.element) { - enableLigatures(this.xterm) + enableLigatures(this.xterm) } }