Merge pull request #208793 from microsoft/merogge/voice-conflict

fix issue with terminal chat input focus
This commit is contained in:
Megan Rogge 2024-03-26 08:34:45 -07:00 committed by GitHub
commit 22f3839b94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -100,7 +100,8 @@ registerActiveXtermAction({
title: localize2('focusTerminalInput', 'Focus Terminal Input'),
keybinding: {
primary: KeyMod.CtrlCmd | KeyCode.UpArrow,
when: TerminalChatContextKeys.focused,
secondary: [KeyMod.CtrlCmd | KeyCode.KeyI],
when: ContextKeyExpr.and(TerminalChatContextKeys.focused, CTX_INLINE_CHAT_FOCUSED.toNegated()),
weight: KeybindingWeight.WorkbenchContrib,
},
f1: true,