Skip to content

Commit aeca6dd

Browse files
authored
Disable execSelectionInTerminal if notebook is active (#13585)
1 parent c32b242 commit aeca6dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
{
117117
"command": "python.execSelectionInTerminal",
118118
"key": "shift+enter",
119-
"when": "editorTextFocus && editorLangId == python && !findInputFocussed && !replaceInputFocussed && !python.datascience.ownsSelection"
119+
"when": "editorTextFocus && editorLangId == python && !findInputFocussed && !replaceInputFocussed && !python.datascience.ownsSelection && !notebookEditorFocused"
120120
},
121121
{
122122
"command": "python.datascience.execSelectionInteractive",

0 commit comments

Comments
 (0)