mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-20 19:39:54 +00:00
21 lines
615 B
TypeScript
21 lines
615 B
TypeScript
import { Component, HostBinding } from '@angular/core'
|
|
import { WIN_BUILD_CONPTY_SUPPORTED, WIN_BUILD_CONPTY_STABLE, isWindowsBuild, ConfigService } from 'tabby-core'
|
|
|
|
/** @hidden */
|
|
@Component({
|
|
templateUrl: './shellSettingsTab.component.pug',
|
|
})
|
|
export class ShellSettingsTabComponent {
|
|
isConPTYAvailable: boolean
|
|
isConPTYStable: boolean
|
|
|
|
@HostBinding('class.content-box') true
|
|
|
|
constructor (
|
|
public config: ConfigService,
|
|
) {
|
|
this.isConPTYAvailable = isWindowsBuild(WIN_BUILD_CONPTY_SUPPORTED)
|
|
this.isConPTYStable = isWindowsBuild(WIN_BUILD_CONPTY_STABLE)
|
|
}
|
|
}
|