package textutils
Text output utilities
Install
Dune Dependency
Authors
Maintainers
Sources
textutils-v0.16.0.tar.gz
sha256=7814aa3ce89fa18e48c41f4764336a99cbd4b761fcb46a9df73297923b57feb2
doc/textutils.console/Console/module-type-S/index.html
Module type Console.S
Source
module Ansi : sig ... end
Handling of ansi codes.
val is_color_tty : unit -> bool io
val width : unit -> [ `Cols of int | `Not_a_tty | `Not_available ] io
The width in characters of the current output. Returns `Not_a_tty
if stdout is not connected to a tty.
val print_list : out_channel -> (string * Ansi.attr list) list -> unit io
print a list in a columnize way (like the output of ls)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>