Event handlers for displaying build progress on an xterm, which allows for more functionality than a dumb terminal. The event handlers are responsible to add information to the state, which is then used by the renderer to periodically write that information to screen.
Event handlers for displaying build progress on an xterm, which allows for more functionality than a dumb terminal. The event handlers are responsible to add information to the state, which is then used by the renderer to periodically write that information to screen.
(console-renderer src)
Creates a renderer function that invokes src
to generate printable lines,
which are then sent to the terminal.
Creates a renderer function that invokes `src` to generate printable lines, which are then sent to the terminal.
(render-state {:keys [build jobs i]})
Converts state into printable lines, possibly using ansi control codes.
Converts state into printable lines, possibly using ansi control codes.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |