Skip to content

Commit

Permalink
Redirect accessibility users to terminal REPL instead of native REPL …
Browse files Browse the repository at this point in the history
…(#23711)

Resolves: microsoft/vscode#216548

Redirect screen reader users to terminal REPL instead of new REPL even
when they are opted in to use the native REPL
  • Loading branch information
anthonykim1 authored Jun 27, 2024
1 parent 45b795a commit 62ded1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1121,12 +1121,12 @@
{
"command": "python.execSelectionInTerminal",
"key": "shift+enter",
"when": "!config.python.REPL.sendToNativeREPL && editorTextFocus && editorLangId == python && !findInputFocussed && !replaceInputFocussed && !jupyter.ownsSelection && !notebookEditorFocused && activeEditor != 'workbench.editor.interactive'"
"when": "editorTextFocus && editorLangId == python && !findInputFocussed && !replaceInputFocussed && !jupyter.ownsSelection && !notebookEditorFocused && activeEditor != 'workbench.editor.interactive'"
},
{
"command": "python.execInREPL",
"key": "shift+enter",
"when": "config.python.REPL.sendToNativeREPL && activeEditor != 'workbench.editor.interactive'&& editorLangId == python && editorTextFocus && !jupyter.ownsSelection && !notebookEditorFocused"
"when": "!accessibilityModeEnabled && config.python.REPL.sendToNativeREPL && activeEditor != 'workbench.editor.interactive'&& editorLangId == python && editorTextFocus && !jupyter.ownsSelection && !notebookEditorFocused"
},
{
"command": "python.execInREPLEnter",
Expand Down

0 comments on commit 62ded1f

Please sign in to comment.