mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-23 21:09:52 +00:00
26 lines
723 B
TypeScript
26 lines
723 B
TypeScript
import { Component, HostBinding } from '@angular/core'
|
|
import { ConfigService, HostAppService, Platform, PlatformService, altKeyName, metaKeyName } from 'tabby-core'
|
|
|
|
/** @hidden */
|
|
@Component({
|
|
template: require('./terminalSettingsTab.component.pug'),
|
|
})
|
|
export class TerminalSettingsTabComponent {
|
|
Platform = Platform
|
|
altKeyName = altKeyName
|
|
metaKeyName = metaKeyName
|
|
|
|
@HostBinding('class.content-box') true
|
|
|
|
constructor (
|
|
public config: ConfigService,
|
|
public hostApp: HostAppService,
|
|
private platform: PlatformService,
|
|
) { }
|
|
|
|
openWSLVolumeMixer (): void {
|
|
this.platform.openPath('sndvol.exe')
|
|
this.platform.exec('wsl.exe', ['tput', 'bel'])
|
|
}
|
|
}
|