Skip to content

Commit 62ded1f

Browse files
authored
Redirect accessibility users to terminal REPL instead of native REPL (#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
1 parent 45b795a commit 62ded1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,12 +1121,12 @@
11211121
{
11221122
"command": "python.execSelectionInTerminal",
11231123
"key": "shift+enter",
1124-
"when": "!config.python.REPL.sendToNativeREPL && editorTextFocus && editorLangId == python && !findInputFocussed && !replaceInputFocussed && !jupyter.ownsSelection && !notebookEditorFocused && activeEditor != 'workbench.editor.interactive'"
1124+
"when": "editorTextFocus && editorLangId == python && !findInputFocussed && !replaceInputFocussed && !jupyter.ownsSelection && !notebookEditorFocused && activeEditor != 'workbench.editor.interactive'"
11251125
},
11261126
{
11271127
"command": "python.execInREPL",
11281128
"key": "shift+enter",
1129-
"when": "config.python.REPL.sendToNativeREPL && activeEditor != 'workbench.editor.interactive'&& editorLangId == python && editorTextFocus && !jupyter.ownsSelection && !notebookEditorFocused"
1129+
"when": "!accessibilityModeEnabled && config.python.REPL.sendToNativeREPL && activeEditor != 'workbench.editor.interactive'&& editorLangId == python && editorTextFocus && !jupyter.ownsSelection && !notebookEditorFocused"
11301130
},
11311131
{
11321132
"command": "python.execInREPLEnter",

0 commit comments

Comments
 (0)