mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-24 05:19:57 +00:00
22 lines
583 B
TypeScript
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'])
|
|
}
|
|
}
|