mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-10 22:50:04 +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) {
|
if (event.type === 'keydown' && event.key === '/' && event.ctrlKey) {
|
||||||
this.input.next(Buffer.from('\u001f', 'binary'))
|
this.input.next(Buffer.from('\u001f', 'binary'))
|
||||||
return false
|
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)
|
this.hotkeysService.pushKeyEvent(name, event)
|
||||||
|
|
||||||
let ret = true
|
let ret = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user