Skip to content

Commit b1cb5c2

Browse files
authored
dont execute history items (#24394)
fix #24393
1 parent 5d56379 commit b1cb5c2

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
@@ -1174,12 +1174,12 @@
11741174
{
11751175
"command": "python.execInREPLEnter",
11761176
"key": "enter",
1177-
"when": "!config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.repl' && !inlineChatFocused"
1177+
"when": "!config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.repl' && !inlineChatFocused && !notebookCellListFocused"
11781178
},
11791179
{
11801180
"command": "python.execInInteractiveWindowEnter",
11811181
"key": "enter",
1182-
"when": "!config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive' && !inlineChatFocused"
1182+
"when": "!config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive' && !inlineChatFocused && !notebookCellListFocused"
11831183
},
11841184
{
11851185
"command": "python.refreshTensorBoard",

0 commit comments

Comments
 (0)