
format.pl -- Print formatted text to a terminalThis module is the core of the plain text rendering module, providing format_paragraph/2 which formats a plain text block, respecting left and right margins, text alignment, ANSI style elements, etc.
format_paragraph(+Text, +Options)width)left, right, center or justify
trim_line(Line0, Line) is detb(_,_)) tokens from a line.
format_line(+Line, +Width, +LineNo, +Options) is det[private]
float_right(+Line0, -Line, -Right) is semidet[private]
space_dim(+Line, -SpaceVars, -Width)[private]
spread(+Spread, +SPC, -Spaces)[private]
emit_line(+Content)[private]
words(+Input, -Words) is det[multifile]w(Word, Len, Attributes) terms.