term_background | R Documentation |
Get the colors used in the terminal
term_background()
term_foreground()
term_palette()
Getting the color palette used in the terminal is terminal specific. Currently only the kitty terminal is supported. For other terminals default colors are returned.
term_background
and term_foreground
will return a length 1
vector with a color. term_palette
will return a vector of colors.
kitty_colors
for the functions returning the specific colors
used in the kitty terminal.
term_background()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.