From b1eeab660ef24f0cea0fa611eb456ee7bf491670 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 12 Aug 2025 20:14:40 -0400 Subject: [PATCH] fix --- gui/src/components/mainInput/InputToolbar.tsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/gui/src/components/mainInput/InputToolbar.tsx b/gui/src/components/mainInput/InputToolbar.tsx index 6cc036616..4ba9119fc 100644 --- a/gui/src/components/mainInput/InputToolbar.tsx +++ b/gui/src/components/mainInput/InputToolbar.tsx @@ -179,7 +179,13 @@ function InputToolbar(props: InputToolbarProps) { className={`hover:underline" hidden transition-colors duration-200 md:flex`} > props.onEnter?.({ useCodebase: false, @@ -222,7 +228,9 @@ function InputToolbar(props: InputToolbarProps) { if (props.onEnter) { props.onEnter({ useCodebase: false, - noContext: useActiveFile ? !(isMetaEquivalentKeyPressed(e as any) || e.altKey) : (isMetaEquivalentKeyPressed(e as any) || e.altKey), + noContext: useActiveFile + ? !(isMetaEquivalentKeyPressed(e as any) || e.altKey) + : isMetaEquivalentKeyPressed(e as any) || e.altKey, }); } }}