• Format keystrokes for display on the local system.

    If a list of keystrokes is provided, it will be displayed as a comma-separated string

    Parameters

    • keystroke: string | readonly string[]

      The keystrokes to format

    Returns string

    The keystrokes representation