mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-04 02:19:55 +00:00
updated wsl truecolor warning
This commit is contained in:
parent
d80c9a27d3
commit
df97e7ebb5
@ -14,9 +14,8 @@ h3.mb-3 Shell
|
|||||||
[ngValue]='shell.id'
|
[ngValue]='shell.id'
|
||||||
) {{shell.name}}
|
) {{shell.name}}
|
||||||
|
|
||||||
.alert.alert-info.d-flex.align-items-center(*ngIf='config.store.terminal.shell.startsWith("wsl")')
|
.alert.alert-info.d-flex.align-items-center(*ngIf='config.store.terminal.shell.startsWith("wsl") && config.store.terminal.frontend != "xterm"')
|
||||||
.mr-auto WSL terminal only supports 16 colors until ConPTY is implemented in node-pty
|
.mr-auto WSL terminal only supports TrueColor with the xterm frontend
|
||||||
button.btn.btn-secondary((click)='openConPtyInfo()') More Information
|
|
||||||
|
|
||||||
.form-line(*ngIf='config.store.terminal.shell == "custom"')
|
.form-line(*ngIf='config.store.terminal.shell == "custom"')
|
||||||
.header
|
.header
|
||||||
|
@ -30,10 +30,6 @@ export class ShellSettingsTabComponent {
|
|||||||
this.shells = (await Promise.all(this.config.enabledServices(this.shellProviders).map(x => x.provide()))).reduce((a, b) => a.concat(b))
|
this.shells = (await Promise.all(this.config.enabledServices(this.shellProviders).map(x => x.provide()))).reduce((a, b) => a.concat(b))
|
||||||
}
|
}
|
||||||
|
|
||||||
openConPtyInfo() {
|
|
||||||
this.electron.shell.openExternal('https://github.com/Microsoft/node-pty/issues/216')
|
|
||||||
}
|
|
||||||
|
|
||||||
ngOnDestroy () {
|
ngOnDestroy () {
|
||||||
this.configSubscription.unsubscribe()
|
this.configSubscription.unsubscribe()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user