use terminal chat context key instead of generic one to fix bug (#215552)

fix #215532
This commit is contained in:
Megan Rogge 2024-06-14 09:44:26 -07:00 committed by GitHub
parent 8fdbb81a9f
commit 288a52a0b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -318,7 +318,7 @@ registerActiveXtermAction({
),
icon: Codicon.send,
keybinding: {
when: ContextKeyExpr.and(CTX_INLINE_CHAT_FOCUSED, TerminalChatContextKeys.requestActive.negate()),
when: ContextKeyExpr.and(TerminalChatContextKeys.focused, TerminalChatContextKeys.requestActive.negate()),
weight: KeybindingWeight.WorkbenchContrib,
primary: KeyCode.Enter
},