MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / chordToDisplayString

Function chordToDisplayString

source code/keybindings/parser.ts:183–188  ·  view source on GitHub ↗
(
  chord: Chord,
  platform: DisplayPlatform = 'linux',
)

Source from the content-addressed store, hash-verified

181 * Convert a Chord to a platform-appropriate display string.
182 */
183export function chordToDisplayString(
184 chord: Chord,
185 platform: DisplayPlatform = 'linux',
186): string {
187 return chord.map(ks => keystrokeToDisplayString(ks, platform)).join(' ')
188}
189
190/**
191 * Parse keybinding blocks (from JSON config) into a flat list of ParsedBindings.

Callers

nothing calls this directly

Calls 1

keystrokeToDisplayStringFunction · 0.85

Tested by

no test coverage detected