v1.1.0
-
cli has now functions to add ANSI styles to text. These use the crayon
package internally, and provide a simpler interface. See thecol_*,
bg_*,style_*and also themake_ansi_style()and
combine_ansi_styles()functions (#51). -
New
is_dynamic_tty()function detects if\rshould be used for a
stream (#62). -
New
is_ansi_tty()function detects if ANSI control sequences can be
used for a stream. -
New
ansi_hide_cursor(),ansi_show_cursor()and
ansi_with_hidden_cursor()functions to hide and show the cursor in
terminals. -
New
make_spinner()function helps integrating spinners into your
functions. -
Now
symbolalways uses ASCII symbols when thecli.unicodeoption is
set toFALSE.