Releases: r-lib/crayon
Releases · r-lib/crayon
crayon 1.5.3
- The semantics of the
cli.default_num_colors
options is now different.
It is now used as the default number of colors if the number of colors
is not already set by thecli.num_colors
option, theR_CLI_NUM_COLORS
environment variable, thecrayon.enabled
andcrayon.colors
options,
theNO_COLOR
environment variable, theknitr.in.progress
option,
or asink()
call for the stream. This matches the behavior of the cli
package.
crayon v1.5.2
v1.5.1
v1.5.0
v.1.4.2
-
Better ANSI support detection if there is an active
sink()
. -
Support ANSI markup in RStudio jobs.
v1.4.1
v1.4.0
-
Overhauled and much improved detection of ANSI color support and
number of ANSI colors. -
NO_COLOR
environment variable disables color (#64) -
Now colors are turned on if ANSICON (https://github.com/adoxa/ansicon)
is active. -
New
hyperlink()
function to add hyperlinks to terminal output.
The newhas_hyperlink()
function tests if the currentstdout()
supports this. -
reset
style now restores previous style for text following it (@brodieG,
#35). -
Warnings are no longer generated when the INSIDE_EMACS environment variable is
set but does not include a version number.