| cell | R Documentation |
Cells are the unit of the virtual screen. Each cell holds one character
(a wide character such as a CJK ideograph occupies two cells; the second one is a
continuation cell whose char is ""), colours and text attributes.
cell(
char = " ",
fg = NULL,
bg = NULL,
bold = FALSE,
italic = FALSE,
underline = FALSE,
reverse = FALSE,
dim = FALSE,
strike = FALSE
)
char |
A single character. |
fg, bg |
Foreground and background colours. |
bold, italic, underline, reverse, dim, strike |
Text attributes. |
The framebuffer stores cells column-wise in matrices for speed; cell()
is the value-level representation used for inspection and tests.
An object of class termr_cell.
cell("A", fg = "red", bold = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.