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.
Usage
cell(
char = " ",
fg = NULL,
bg = NULL,
bold = FALSE,
italic = FALSE,
underline = FALSE,
reverse = FALSE,
dim = FALSE,
strike = FALSE
)Arguments
- char
A single character.
- fg, bg
Foreground and background colours.
NULLmeans the terminal default. Seestyle()for accepted colour formats.- bold, italic, underline, reverse, dim, strike
Text attributes.