This commit is contained in:
meganrogge 2021-08-04 08:27:03 -07:00
parent 4b6d224f63
commit 594767c866
No known key found for this signature in database
GPG key ID: 3155C8B2F0428C81

View file

@ -1683,7 +1683,7 @@ export function registerTerminalActions() {
primary: KeyMod.CtrlCmd | KeyCode.KEY_W,
win: { primary: KeyMod.CtrlCmd | KeyCode.F4, secondary: [KeyMod.CtrlCmd | KeyCode.KEY_W] },
weight: KeybindingWeight.WorkbenchContrib,
when: ContextKeyExpr.and(TerminalContextKeys.focus, ResourceContextKey.Scheme.isEqualTo(Schemas.vscodeTerminal))
when: ContextKeyExpr.and(TerminalContextKeys.focus, ResourceContextKey.Scheme.isEqualTo(Schemas.vscodeTerminal), TerminalContextKeys.editorFocus)
}
});