Renders one or more keyboard shortcuts as safe one-line terminal text.
This function is framework-independent. Import it from blessed-components/kbd to keep Blessed outside the module graph.
blessed-components/kbd
Keys, separators, variant, normalization, and layout.
Plain text without ANSI sequences or Blessed tags.
RangeError Thrown when a key, separator, or shortcut is empty or multiline, or when configured text dimensions are invalid.
RangeError
Renders one or more keyboard shortcuts as safe one-line terminal text.
This function is framework-independent. Import it from
blessed-components/kbdto keep Blessed outside the module graph.