Skip to content

Commit c251555

Browse files
authored
fix: open help dialog with tui/open-help route (anomalyco#8596)
1 parent 08b94a6 commit c251555

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • packages/opencode/src/server/routes

packages/opencode/src/server/routes/tui.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ export const TuiRoutes = lazy(() =>
119119
},
120120
}),
121121
async (c) => {
122-
// TODO: open dialog
122+
await Bus.publish(TuiEvent.CommandExecute, {
123+
command: "help.show",
124+
})
123125
return c.json(true)
124126
},
125127
)

0 commit comments

Comments
 (0)