GitHub Action 1 месяц назад
Родитель
Сommit
e29120317f

+ 1 - 1
packages/opencode/src/cli/cmd/tui/component/prompt/autocomplete.tsx

@@ -133,7 +133,7 @@ export function Autocomplete(props: {
   // via a synthetic event as the layout moves underneath the cursor. This is a workaround to make sure the input mode remains keyboard so
   // via a synthetic event as the layout moves underneath the cursor. This is a workaround to make sure the input mode remains keyboard so
   // that the mouseover event doesn't trigger when filtering.
   // that the mouseover event doesn't trigger when filtering.
   createEffect(() => {
   createEffect(() => {
-    filter();
+    filter()
     setStore("input", "keyboard")
     setStore("input", "keyboard")
   })
   })
 
 

+ 1 - 1
packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx

@@ -88,7 +88,7 @@ export function DialogSelect<T>(props: DialogSelectProps<T>) {
   // via a synthetic event as the layout moves underneath the cursor. This is a workaround to make sure the input mode remains keyboard
   // via a synthetic event as the layout moves underneath the cursor. This is a workaround to make sure the input mode remains keyboard
   // that the mouseover event doesn't trigger when filtering.
   // that the mouseover event doesn't trigger when filtering.
   createEffect(() => {
   createEffect(() => {
-    filtered();
+    filtered()
     setStore("input", "keyboard")
     setStore("input", "keyboard")
   })
   })