tabby/terminus-ssh/src/hotkeys.ts
2019-06-18 22:11:43 +02:00

18 lines
414 B
TypeScript

import { Injectable } from '@angular/core'
import { HotkeyDescription, HotkeyProvider } from 'terminus-core'
/** @hidden */
@Injectable()
export class SSHHotkeyProvider extends HotkeyProvider {
hotkeys: HotkeyDescription[] = [
{
id: 'ssh',
name: 'Show SSH connections',
},
]
async provide (): Promise<HotkeyDescription[]> {
return this.hotkeys
}
}