Liking cljdoc? Tell your friends :D

lambdaisland.deep-diff2.puget.color.ansi

Coloring implementation that applies ANSI color codes to text designed to be output to a terminal.

Use with a :color-markup of :ansi.

Coloring implementation that applies ANSI color codes to text designed to be
output to a terminal.

Use with a `:color-markup` of `:ansi`.
raw docstring

escclj/s

(esc codes)

Returns an ANSI escope string which will apply the given collection of SGR codes.

Returns an ANSI escope string which will apply the given collection of SGR
codes.
sourceraw docstring

escapeclj/s

(escape & codes)

Returns an ANSI escope string which will enact the given SGR codes.

Returns an ANSI escope string which will enact the given SGR codes.
sourceraw docstring

sgrclj/s

(sgr string & codes)

Wraps the given string with SGR escapes to apply the given codes, then reset the graphics.

Wraps the given string with SGR escapes to apply the given codes, then reset
the graphics.
sourceraw docstring

sgr-codeclj/s

Map of symbols to numeric SGR (select graphic rendition) codes.

Map of symbols to numeric SGR (select graphic rendition) codes.
sourceraw docstring

stripclj/s

(strip string)

Removes color codes from the given string.

Removes color codes from the given string.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close