(Changed in version 2.8.0) collect
has changed. The previous behavior can be reproduced with toSeq
.
Truncated streams the chunks one by one until it reaches the height limit; then, it buffers up to one entire row worth of chunks to check whether it overshoots.
Truncated streams the chunks one by one until it reaches the height limit; then, it buffers up to one entire row worth of chunks to check whether it overshoots. If it overshoots, it discards the chunks and prints "..." instead. If not, the buffered chunks get printed all at once.
Wraps an input iterator of colored fansi.Strs, and produces the same fansi.Strs but truncated once the wrapped-at-width text reaches beyond a certain height