1
1
mirror of https://github.com/Eugeny/tabby.git synced 2025-01-02 23:45:45 +03:00

reenabled ctrl-v in xterm (#706)

This commit is contained in:
Eugene Pankov 2019-06-14 17:26:31 +02:00
parent ba10b89006
commit 4c659b80fd

View File

@ -66,7 +66,7 @@ export class XTermFrontend extends Frontend {
}
this.xterm.attachCustomKeyEventHandler((event: KeyboardEvent) => {
if ((event.getModifierState('Control') || event.getModifierState('Meta')) && event.key.toLowerCase() === 'v') {
if (event.getModifierState('Meta') && event.key.toLowerCase() === 'v') {
event.preventDefault()
return false
}