Open command menu from composer plus button

This commit is contained in:
kingwl
2026-07-30 20:42:48 +08:00
parent e6a621d17d
commit 7da7d5784d
36 changed files with 256 additions and 50 deletions
@@ -145,8 +145,10 @@ function mount(
useInput={useInput}
inputActions={inputActions}
keyboard={wiring}
toggleCommandMenu={vi.fn()}
useNotices={bindSnapshotSelector(wiring.notices)}
useLexicon={bindSnapshotSelector(wiring.lexicon)}
useMenuLauncher={bindSnapshotSelector(createSnapshotStore<string | null>(null))}
stop={stop}
command={() => Promise.resolve(true)}
translateHint={(key: string) => key}