FICHA · MANJARO

ruby-unicode-display_width

Determines the monospace display width of a string in Ruby

  • Library
  • LIBRARY
  • Dependency only
official+codex · reviewed · May 29, 2026 description in en

Description

Calculates how wide Unicode strings will appear in monospace terminal layouts. It is useful for tables, prompts, progress bars, logs, and command-line tools that need aligned text.

Display width differs across terminals and Unicode versions. Test emoji, combining marks, CJK text, and ambiguous-width characters before relying on perfect alignment.

Permissions

Permissions not analysed for this source yet.