Module text

Source
Expand description

Text formatter.

Structs§

Table 🔒
TextFormatter
TextRenderer 🔒

Functions§

fill_cell 🔒
Formats a cell. Word-wraps based on width, and adjusts based on alignment.
fill_row 🔒
Formats a row, filling cells with spaces and word-wrapping text.
split_chunks 🔒
Splits the text on whitespace.