mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-11 06:59:59 +00:00
18 lines
417 B
TypeScript
18 lines
417 B
TypeScript
import { Injectable } from '@angular/core'
|
|
import { HotkeyDescription, HotkeyProvider } from 'terminus-core'
|
|
|
|
/** @hidden */
|
|
@Injectable()
|
|
export class SettingsHotkeyProvider extends HotkeyProvider {
|
|
hotkeys: HotkeyDescription[] = [
|
|
{
|
|
id: 'settings',
|
|
name: 'Open Settings',
|
|
},
|
|
]
|
|
|
|
async provide (): Promise<HotkeyDescription[]> {
|
|
return this.hotkeys
|
|
}
|
|
}
|