Skip to content
FutureBlitz

    Install

    Import std.term.style

    VisibleWidth

    std.term.style

    function

    Public Function VisibleWidth(text: String): Int

    The columns text takes in a terminal, as DisplayWidth counts them, without its escape codes. Each line's are counted alike, so for text of several lines it's the widest one's.

    std/term/style.fb, line 437

    Report an issue with this page or with FutureBlitz on GitHub.