package progress
User-definable progress bars
Install
Dune Dependency
Authors
Maintainers
Sources
terminal-0.2.0.tbz
sha256=7a92f6aede3d5010a30e6e47ccbc8380cc5bece8ac95c508323eb25272e6ddd3
sha512=a2ccea467e2d0e419b569992102bd2c43ff97b47f7f8413ee8fbe775ce369a80ff11e0a8fd450ebf1776f7c65baf2482076a120318c9d818488ceba0b9196639
doc/progress.engine/Progress_engine/Make/Multi/index.html
Module Make.Multi
Source
The type of vertical sequences of progress bars. The parameter 'a
stores a list of the reporting functions associated with each bar, terminating with 'b
. For example:
(* Single progress bar, taking a [float] value. *)
(float reporter -> 'b, 'b) t
(* A two-bar layout, where the top bar takes [int64]s and the bottom one
takes [string * float] pairs. *)
(int64 reporter -> (string * float) reporter -> 'b, 'b) t
These reporting functions are supplied when beginning the rendering process.
Construct a multiple-line layout from a single progress bar line.
Construct a multiple-line layout from a sequence of lines that all have the same type of reported values.
Stack progress bars vertically. a ++ b
is a set with a
stacked on top of b
. The two sections have separate reporting functions, passed consecutively to the with_reporters
continuation when rendering.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>