Merge pull request #172409 from microsoft/tyriar/172196

Add a11y help to commands to skip shell, make alt+f1
This commit is contained in:
Daniel Imms 2023-01-25 08:50:31 -08:00 committed by GitHub
commit f4634cbac9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 6 deletions

View file

@ -188,12 +188,8 @@ export function registerTerminalActions() {
primary: KeyMod.Alt | KeyCode.F1,
weight: KeybindingWeight.WorkbenchContrib,
linux: {
primary: KeyMod.Shift | KeyCode.F1,
secondary: [KeyMod.Shift | KeyCode.F1]
},
win: {
primary: KeyMod.Shift | KeyCode.F1,
secondary: [KeyMod.Shift | KeyCode.F1]
primary: KeyMod.Alt | KeyMod.Shift | KeyCode.F1,
secondary: [KeyMod.Alt | KeyCode.F1]
},
when: TerminalContextKeys.focus
}

View file

@ -672,6 +672,7 @@ export const DEFAULT_COMMANDS_TO_SKIP_SHELL: string[] = [
TerminalCommandId.SelectNextPageSuggestion,
TerminalCommandId.AcceptSelectedSuggestion,
TerminalCommandId.HideSuggestWidget,
TerminalCommandId.ShowTerminalAccessibilityHelp,
'editor.action.toggleTabFocusMode',
'notifications.hideList',
'notifications.hideToasts',