View Source Boxen.WrapText (boxen v0.1.0)
Helper module for wrapping text(with ANSI code)
Link to this section Summary
Functions
Wraps a given text inside the given length
Link to this section Functions
@spec wrap(text :: String.t(), max_line_length :: non_neg_integer()) :: String.t()
Wraps a given text inside the given length
This function can take multiple lines separated by