Skip to content

Commit 22f3839

Browse files
authored
Merge pull request microsoft#208793 from microsoft/merogge/voice-conflict
fix issue with terminal chat input focus
2 parents 38695f1 + 52d0176 commit 22f3839

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ registerActiveXtermAction({
100100
title: localize2('focusTerminalInput', 'Focus Terminal Input'),
101101
keybinding: {
102102
primary: KeyMod.CtrlCmd | KeyCode.UpArrow,
103-
when: TerminalChatContextKeys.focused,
103+
secondary: [KeyMod.CtrlCmd | KeyCode.KeyI],
104+
when: ContextKeyExpr.and(TerminalChatContextKeys.focused, CTX_INLINE_CHAT_FOCUSED.toNegated()),
104105
weight: KeybindingWeight.WorkbenchContrib,
105106
},
106107
f1: true,

0 commit comments

Comments
 (0)