diff --git a/gui/src/components/mainInput/InputToolbar.tsx b/gui/src/components/mainInput/InputToolbar.tsx index 87cf5344f..500ec9ee8 100644 --- a/gui/src/components/mainInput/InputToolbar.tsx +++ b/gui/src/components/mainInput/InputToolbar.tsx @@ -222,8 +222,8 @@ function InputToolbar(props: InputToolbarProps) { props.onEnter({ useCodebase: false, noContext: useActiveFile - ? !(isMetaEquivalentKeyPressed(e as any) || e.altKey) - : isMetaEquivalentKeyPressed(e as any) || e.altKey, + ? isMetaEquivalentKeyPressed(e as any) || e.altKey + : !isMetaEquivalentKeyPressed(e as any) || e.altKey, }); } }}