mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-08 13:30:02 +00:00
This commit is contained in:
parent
a24c1c489b
commit
1c8de05065
@ -149,11 +149,18 @@ export class XTermFrontend extends Frontend {
|
||||
}
|
||||
}
|
||||
|
||||
// Ctrl-/
|
||||
if (event.type === 'keydown' && event.key === '/' && event.ctrlKey) {
|
||||
this.input.next(Buffer.from('\u001f', 'binary'))
|
||||
return false
|
||||
}
|
||||
|
||||
// Ctrl-@
|
||||
if (event.type === 'keydown' && event.key === '@' && event.ctrlKey) {
|
||||
this.input.next(Buffer.from('\u0000', 'binary'))
|
||||
return false
|
||||
}
|
||||
|
||||
this.hotkeysService.pushKeyEvent(name, event)
|
||||
|
||||
let ret = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user