MCPcopy Index your code
hub / github.com/anomalyco/opencode / formatKeybindKeys

Function formatKeybindKeys

packages/app/src/context/command.tsx:231–233  ·  view source on GitHub ↗
(config: string, t?: (key: KeyLabel) => string)

Source from the content-addressed store, hash-verified

229
230// KeybindV2 takes an array instead of a string
231export function formatKeybindKeys(config: string, t?: (key: KeyLabel) => string): string[] {
232 return formatKeybindParts(config, t)
233}
234
235function isEditableTarget(target: EventTarget | null) {
236 if (!(target instanceof HTMLElement)) return false

Callers

nothing calls this directly

Calls 1

formatKeybindPartsFunction · 0.85

Tested by

no test coverage detected