Module S.Config
Configuration for progress bar rendering.
val v :
?ppf:Stdlib.Format.formatter ->
?hide_cursor:bool ->
?persistent:bool ->
?max_width:int option ->
?min_interval:Duration.t option ->
unit ->
Config.tppf: the formatter to use for rendering. Defaults toFormat.err_formatter.
hide_cursor: whether or not to hide the terminal cursor (using theDECTCEMANSI escape codes) during progress bar rendering. Defaults totrue.
persistent: whether or not to retain the final progress bar display in the terminal after rendering has finished. Defaults totrue.
max_width: an optional fixed upper bound on the size of a progress bar (in addition to the one by the terminal width). Defaults toNone.
min_interval: the minimum time interval between re-renders of the progress bar display (i.e. a debounce threshold). Defaults to 1/60th of a second.
Merge two config values, with settings from the left taking priority. That is, a || b contains the configuration of a, with unset defaults taken from b.
module Default : sig ... endProvides the default values of each of the config parameters.