From 4c659b80fd700fa0380d21a87c7f81a91303775c Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Fri, 14 Jun 2019 17:26:31 +0200 Subject: [PATCH] reenabled ctrl-v in xterm (#706) --- terminus-terminal/src/frontends/xtermFrontend.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminus-terminal/src/frontends/xtermFrontend.ts b/terminus-terminal/src/frontends/xtermFrontend.ts index 33575494..9202f103 100644 --- a/terminus-terminal/src/frontends/xtermFrontend.ts +++ b/terminus-terminal/src/frontends/xtermFrontend.ts @@ -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 }