mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-24 05:19:57 +00:00
19 lines
564 B
TypeScript
19 lines
564 B
TypeScript
import { Component } from '@angular/core'
|
|
import { WIN_BUILD_CONPTY_SUPPORTED, WIN_BUILD_CONPTY_STABLE, isWindowsBuild, ConfigService } from 'tabby-core'
|
|
|
|
/** @hidden */
|
|
@Component({
|
|
template: require('./shellSettingsTab.component.pug'),
|
|
})
|
|
export class ShellSettingsTabComponent {
|
|
isConPTYAvailable: boolean
|
|
isConPTYStable: boolean
|
|
|
|
constructor (
|
|
public config: ConfigService,
|
|
) {
|
|
this.isConPTYAvailable = isWindowsBuild(WIN_BUILD_CONPTY_SUPPORTED)
|
|
this.isConPTYStable = isWindowsBuild(WIN_BUILD_CONPTY_STABLE)
|
|
}
|
|
}
|