Liking cljdoc? Tell your friends :D

ernie.report.ansi


ansiclj

(ansi code)

Output an ANSI escape code using a style key. (ansi :blue) (ansi :underline) Note, try (style-test-page) to see all available styles. If use-ansi is bound to false, outputs an empty string instead of an ANSI code. You can use this to temporarily or permanently turn off ANSI color in some part of your program, while maintaining only 1 version of your marked-up text.

Output an ANSI escape code using a style key.
 (ansi :blue)
 (ansi :underline)
Note, try (style-test-page) to see all available styles.
If *use-ansi* is bound to false, outputs an empty string instead of an
ANSI code. You can use this to temporarily or permanently turn off
ANSI color in some part of your program, while maintaining only 1
version of your marked-up text.
raw docstring

ANSI-CODESclj


clear!clj

(clear!)

clearln!clj

(clearln!)

move-down!clj

(move-down! n)

move-left!clj

(move-left! n)

move-right!clj

(move-right! n)

move-to!clj

(move-to! line column)

move-up!clj

(move-up! n)

recall!clj

(recall!)

save!clj

(save!)

styleclj

(style s & codes)

Applies ANSI color and style to a text string. (style "foo" :red) (style "foo" :red :underline) (style "foo" :red :bg-blue :underline)

Applies ANSI color and style to a text string.
(style "foo" :red)
(style "foo" :red :underline)
(style "foo" :red :bg-blue :underline)
raw docstring

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

× close