Liking cljdoc? Tell your friends :D

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

(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

(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

(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

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

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

stripclj

(strip string)

Removes color codes from the given string.

Removes color codes from the given string.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close