formatHotkeySequence
function formatHotkeySequence(sequence): string;Defined in: format.ts:38
Joins stored sequence steps with spaces, preserving physical code tokens. For user-facing labels, call formatForDisplay on each step instead.
Parameters
sequence
Hotkey[]
Array of hotkey strings that form the sequence
Returns
string
A space-separated string (e.g. ['G','G'] → 'G G')
Example
formatHotkeySequence(['G', 'G']) // 'G G'
formatHotkeySequence(['D', 'I', 'W']) // 'D I W'