Module OpamStd.Format
Querying information
Text formatting functions
val cut_at_visual : string -> int -> stringTruncates the string to not visually get over
widthcolumns
val indent_left : string -> ?visual:string -> int -> stringleft indenting.
~visualcan be used to indent eg. ANSI colored strings and should correspond to the visible characters of s
val indent_right : string -> ?visual:string -> int -> stringval align_table : string list list -> string list listPads fields in a table with spaces for alignment.
val reformat : ?start_column:int -> ?indent:int -> ?width:int -> string -> stringCut long lines in string according to the terminal width