Fancyline::StringUtil::Dimension
Inherits Struct / Value / Object
Dimensions of a string when displayed on a terminal. Stores the count of
characters in each row (#rows), the longest row (#columns), and the
total count of human-visible #characters.
Constructors
new(rows : Array(Int32), columns : Int32, characters : Int32)
SourceInstance methods
characters
clone
Sourcecolumns
copy_with(rows _rows = @rows, columns _columns = @columns, characters _characters = @characters)
Sourcerows