Fix when clause on "Run in terminal" command

This commit is contained in:
Rob Lourens 2023-05-31 09:38:02 -07:00
parent 3a59332784
commit b272d45bb7
No known key found for this signature in database
GPG key ID: A2793C9B3199B7EF

View file

@ -321,7 +321,8 @@ export function registerChatCodeBlockActions() {
win: {
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.Enter
},
weight: KeybindingWeight.EditorContrib
weight: KeybindingWeight.EditorContrib,
when: CONTEXT_IN_CHAT_SESSION
}
});
}