1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-25 11:33:35 +03:00

updated wsl truecolor warning

This commit is contained in:
Eugene Pankov 2018-12-15 23:51:03 +01:00
parent d80c9a27d3
commit df97e7ebb5
2 changed files with 2 additions and 7 deletions

View File

@ -14,9 +14,8 @@ h3.mb-3 Shell
[ngValue]='shell.id'
) {{shell.name}}
.alert.alert-info.d-flex.align-items-center(*ngIf='config.store.terminal.shell.startsWith("wsl")')
.mr-auto WSL terminal only supports 16 colors until ConPTY is implemented in node-pty
button.btn.btn-secondary((click)='openConPtyInfo()') More Information
.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 TrueColor with the xterm frontend
.form-line(*ngIf='config.store.terminal.shell == "custom"')
.header

View File

@ -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))
}
openConPtyInfo() {
this.electron.shell.openExternal('https://github.com/Microsoft/node-pty/issues/216')
}
ngOnDestroy () {
this.configSubscription.unsubscribe()
}