mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-25 19:42:42 +03:00
lint
This commit is contained in:
parent
661ada154e
commit
ad469c08fe
@ -27,22 +27,18 @@ export class EditConnectionModalComponent {
|
|||||||
this.newScript = { expect: '', send: '' }
|
this.newScript = { expect: '', send: '' }
|
||||||
|
|
||||||
for (let k of Object.values(SSHAlgorithmType)) {
|
for (let k of Object.values(SSHAlgorithmType)) {
|
||||||
this.supportedAlgorithms[k] = ALGORITHMS[
|
this.supportedAlgorithms[k] = ALGORITHMS[{
|
||||||
{
|
[SSHAlgorithmType.KEX]: 'SUPPORTED_KEX',
|
||||||
[SSHAlgorithmType.KEX]: 'SUPPORTED_KEX',
|
[SSHAlgorithmType.HOSTKEY]: 'SUPPORTED_SERVER_HOST_KEY',
|
||||||
[SSHAlgorithmType.HOSTKEY]: 'SUPPORTED_SERVER_HOST_KEY',
|
[SSHAlgorithmType.CIPHER]: 'SUPPORTED_CIPHER',
|
||||||
[SSHAlgorithmType.CIPHER]: 'SUPPORTED_CIPHER',
|
[SSHAlgorithmType.HMAC]: 'SUPPORTED_HMAC',
|
||||||
[SSHAlgorithmType.HMAC]: 'SUPPORTED_HMAC',
|
}[k]]
|
||||||
}[k]
|
this.defaultAlgorithms[k] = ALGORITHMS[{
|
||||||
]
|
[SSHAlgorithmType.KEX]: 'KEX',
|
||||||
this.defaultAlgorithms[k] = ALGORITHMS[
|
[SSHAlgorithmType.HOSTKEY]: 'SERVER_HOST_KEY',
|
||||||
{
|
[SSHAlgorithmType.CIPHER]: 'CIPHER',
|
||||||
[SSHAlgorithmType.KEX]: 'KEX',
|
[SSHAlgorithmType.HMAC]: 'HMAC',
|
||||||
[SSHAlgorithmType.HOSTKEY]: 'SERVER_HOST_KEY',
|
}[k]]
|
||||||
[SSHAlgorithmType.CIPHER]: 'CIPHER',
|
|
||||||
[SSHAlgorithmType.HMAC]: 'HMAC',
|
|
||||||
}[k]
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -185,7 +185,7 @@ export class XTermFrontend extends Frontend {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (config.terminal.ligatures && this.xterm.element) {
|
if (config.terminal.ligatures && this.xterm.element) {
|
||||||
enableLigatures(this.xterm)
|
enableLigatures(this.xterm)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user