diff --git a/package.json b/package.json index fb46cab3d6c8..9c71db626cde 100644 --- a/package.json +++ b/package.json @@ -1161,7 +1161,7 @@ { "command": "python.execInREPLEnter", "key": "enter", - "when": "!config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive'" + "when": "!config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive' && !inlineChatFocused" }, { "command": "python.refreshTensorBoard",