Skip to content

Commit f4634cb

Browse files
authored
Merge pull request microsoft#172409 from microsoft/tyriar/172196
Add a11y help to commands to skip shell, make alt+f1
2 parents 1746152 + 412bf5f commit f4634cb

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/vs/workbench/contrib/terminal/browser/terminalActions.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,8 @@ export function registerTerminalActions() {
188188
primary: KeyMod.Alt | KeyCode.F1,
189189
weight: KeybindingWeight.WorkbenchContrib,
190190
linux: {
191-
primary: KeyMod.Shift | KeyCode.F1,
192-
secondary: [KeyMod.Shift | KeyCode.F1]
193-
},
194-
win: {
195-
primary: KeyMod.Shift | KeyCode.F1,
196-
secondary: [KeyMod.Shift | KeyCode.F1]
191+
primary: KeyMod.Alt | KeyMod.Shift | KeyCode.F1,
192+
secondary: [KeyMod.Alt | KeyCode.F1]
197193
},
198194
when: TerminalContextKeys.focus
199195
}

src/vs/workbench/contrib/terminal/common/terminal.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,7 @@ export const DEFAULT_COMMANDS_TO_SKIP_SHELL: string[] = [
672672
TerminalCommandId.SelectNextPageSuggestion,
673673
TerminalCommandId.AcceptSelectedSuggestion,
674674
TerminalCommandId.HideSuggestWidget,
675+
TerminalCommandId.ShowTerminalAccessibilityHelp,
675676
'editor.action.toggleTabFocusMode',
676677
'notifications.hideList',
677678
'notifications.hideToasts',

0 commit comments

Comments
 (0)