Skip to content

Commit 0d8df91

Browse files
committed
fix: open help dialog with tui/open-help route
1 parent 626fa14 commit 0d8df91

File tree

1 file changed

+3
-1
lines changed
  • packages/opencode/src/server/routes

1 file changed

+3
-1
lines changed

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)