tabby/tabby-terminal/src/components/terminalSettingsTab.component.ts
2021-06-29 23:57:04 +02:00

22 lines
583 B
TypeScript

import { Component } from '@angular/core'
import { ConfigService, HostAppService, Platform, PlatformService } from 'tabby-core'
/** @hidden */
@Component({
template: require('./terminalSettingsTab.component.pug'),
})
export class TerminalSettingsTabComponent {
Platform = Platform
constructor (
public config: ConfigService,
public hostApp: HostAppService,
private platform: PlatformService,
) { }
openWSLVolumeMixer (): void {
this.platform.openPath('sndvol.exe')
this.platform.exec('wsl.exe', ['tput', 'bel'])
}
}