Files
2021-07-04 12:23:27 +02:00

18 lines
412 B
TypeScript

import { Injectable } from '@angular/core'
import { HotkeyDescription, HotkeyProvider } from 'tabby-core'
/** @hidden */
@Injectable()
export class LocalTerminalHotkeyProvider extends HotkeyProvider {
hotkeys: HotkeyDescription[] = [
{
id: 'new-tab',
name: 'New tab',
},
]
async provide (): Promise<HotkeyDescription[]> {
return this.hotkeys
}
}