Skip to content

Commit b272d45

Browse files
committed
Fix when clause on "Run in terminal" command
1 parent 3a59332 commit b272d45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,8 @@ export function registerChatCodeBlockActions() {
321321
win: {
322322
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.Enter
323323
},
324-
weight: KeybindingWeight.EditorContrib
324+
weight: KeybindingWeight.EditorContrib,
325+
when: CONTEXT_IN_CHAT_SESSION
325326
}
326327
});
327328
}

0 commit comments

Comments
 (0)