Skip to content

Commit

Permalink
account for inline chat widget (microsoft#24130)
Browse files Browse the repository at this point in the history
`enter` should apply to the inline chat widget if it is focused, not the
parent code editor
  • Loading branch information
amunger authored Sep 18, 2024
1 parent 8268131 commit 9a22fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9a22fb4

Please sign in to comment.