mirror of
https://github.com/Eugeny/tabby
synced 2025-01-23 02:15:31 +00:00
25 lines
548 B
TypeScript
25 lines
548 B
TypeScript
|
import { Injectable } from '@angular/core'
|
||
|
import { IHotkeyDescription, HotkeyProvider } from 'terminus-core'
|
||
|
|
||
|
@Injectable()
|
||
|
export class TerminalHotkeyProvider extends HotkeyProvider {
|
||
|
hotkeys: IHotkeyDescription[] = [
|
||
|
{
|
||
|
id: 'zoom-in',
|
||
|
name: 'Zoom in',
|
||
|
},
|
||
|
{
|
||
|
id: 'zoom-out',
|
||
|
name: 'Zoom out',
|
||
|
},
|
||
|
{
|
||
|
id: 'reset-zoom',
|
||
|
name: 'Reset zoom',
|
||
|
},
|
||
|
{
|
||
|
id: 'new-tab',
|
||
|
name: 'New tab',
|
||
|
},
|
||
|
]
|
||
|
}
|