Procházet zdrojové kódy

fix: open help dialog with tui/open-help route (#8596)

Akshar Patel před 1 měsícem
rodič
revize
c25155586c
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      packages/opencode/src/server/routes/tui.ts

+ 3 - 1
packages/opencode/src/server/routes/tui.ts

@@ -119,7 +119,9 @@ export const TuiRoutes = lazy(() =>
         },
       }),
       async (c) => {
-        // TODO: open dialog
+        await Bus.publish(TuiEvent.CommandExecute, {
+          command: "help.show",
+        })
         return c.json(true)
       },
     )