Merge pull request #188083 from microsoft/merogge/tabfoc

only apply terminal accessible buffer keybinding when terminal is focused
This commit is contained in:
Megan Rogge
2023-07-17 10:33:39 -07:00
committed by GitHub
@@ -92,7 +92,7 @@ registerTerminalAction({
{
primary: KeyMod.Shift | KeyCode.Tab,
weight: KeybindingWeight.WorkbenchContrib,
when: ContextKeyExpr.and(CONTEXT_ACCESSIBILITY_MODE_ENABLED, ContextKeyExpr.or(terminalTabFocusModeContextKey, TerminalContextKeys.accessibleBufferFocus.negate()))
when: ContextKeyExpr.and(CONTEXT_ACCESSIBILITY_MODE_ENABLED, TerminalContextKeys.focus, ContextKeyExpr.or(terminalTabFocusModeContextKey, TerminalContextKeys.accessibleBufferFocus.negate()))
}
],
run: async (c) => {