Skip to content

Commit 5b60e2e

Browse files
authored
Merge pull request microsoft#188083 from microsoft/merogge/tabfoc
only apply terminal accessible buffer keybinding when terminal is focused
2 parents c59a7a2 + fc0a8da commit 5b60e2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminal.accessibility.contribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ registerTerminalAction({
9292
{
9393
primary: KeyMod.Shift | KeyCode.Tab,
9494
weight: KeybindingWeight.WorkbenchContrib,
95-
when: ContextKeyExpr.and(CONTEXT_ACCESSIBILITY_MODE_ENABLED, ContextKeyExpr.or(terminalTabFocusModeContextKey, TerminalContextKeys.accessibleBufferFocus.negate()))
95+
when: ContextKeyExpr.and(CONTEXT_ACCESSIBILITY_MODE_ENABLED, TerminalContextKeys.focus, ContextKeyExpr.or(terminalTabFocusModeContextKey, TerminalContextKeys.accessibleBufferFocus.negate()))
9696
}
9797
],
9898
run: async (c) => {

0 commit comments

Comments
 (0)