package fmt
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
OCaml Format pretty-printer combinators
Install
dune-project
Dependency
Authors
Maintainers
Sources
fmt-0.9.0.tbz
sha512=66cf4b8bb92232a091dfda5e94d1c178486a358cdc34b1eec516d48ea5acb6209c0dfcb416f0c516c50ddbddb3c94549a45e4a6d5c5fd1c81d3374dec823a83b
doc/fmt.tty/Fmt_tty/index.html
Module Fmt_tty
Fmt TTY setup.
Fmt_tty provides simple automatic setup on channel formatters for:
Fmt.set_style_renderer.`Ansi_ttyis used if the channel is a tty and the environment variableTERMis defined and its value is not"dumb".`Noneis used otherwise.Fmt.set_utf_8.trueis used if one of the following environment variables has"UTF-8"as a case insensitive substring:LANG,LC_ALL,LC_CTYPE.
TTY setup
val setup :
?style_renderer:Fmt.style_renderer ->
?utf_8:bool ->
out_channel ->
Format.formattersetup ?style_renderer ?utf_8 outc is a formatter for outc with Fmt.set_style_renderer and Fmt.set_utf_8 correctly setup. If style_renderer or utf_8 are specified they override the automatic setup.
If outc is stdout, Fmt.stdout is returned. If outc is stderr, Fmt.stderr is returned.
val setup_std_outputs :
?style_renderer:Fmt.style_renderer ->
?utf_8:bool ->
unit ->
unit sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page