Fix ctrl+v on Windows
This commit is contained in:
parent
942bc8c575
commit
acdfa7362e
1 changed files with 1 additions and 1 deletions
|
@ -593,7 +593,7 @@ if (BrowserFeatures.clipboard.readText) {
|
||||||
KeybindingsRegistry.registerCommandAndKeybindingRule({
|
KeybindingsRegistry.registerCommandAndKeybindingRule({
|
||||||
id: SendSequenceTerminalAction.ID,
|
id: SendSequenceTerminalAction.ID,
|
||||||
weight: KeybindingWeight.WorkbenchContrib,
|
weight: KeybindingWeight.WorkbenchContrib,
|
||||||
when: ContextKeyExpr.equals(KEYBINDING_CONTEXT_TERMINAL_SHELL_TYPE_KEY, WindowsShellType.PowerShell),
|
when: ContextKeyExpr.and(KEYBINDING_CONTEXT_TERMINAL_FOCUS, ContextKeyExpr.equals(KEYBINDING_CONTEXT_TERMINAL_SHELL_TYPE_KEY, WindowsShellType.PowerShell)),
|
||||||
primary: KeyMod.CtrlCmd | KeyCode.KEY_V,
|
primary: KeyMod.CtrlCmd | KeyCode.KEY_V,
|
||||||
handler: terminalSendSequenceCommand,
|
handler: terminalSendSequenceCommand,
|
||||||
args: { text: String.fromCharCode('V'.charCodeAt(0) - 64) }
|
args: { text: String.fromCharCode('V'.charCodeAt(0) - 64) }
|
||||||
|
|
Loading…
Reference in a new issue