View source: R/term_color_mode.R
| term_color_mode | R Documentation |
Get the color mode of the terminal
term_color_mode()
Uses ANSI SI ? 996 n to determine the color mode. See
https://contour-terminal.org/vt-extensions/color-palette-update-notifications/.
Returns NA when the terminal does not support querying the color
mode. Otherwise returns either 'dark' or 'light'.
term_color_mode()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.