wr {cursr} | R Documentation |
Write String to Terminal
Description
Writes a string of characters to the terminal at the current cursor position. wr
accepts text colors and attributes, but these are reset to default afterwards if used.
Usage
wr(text, fg = NA, bg = NA, attr = NA)
Arguments
text |
string to be printed to the Console |
fg |
foreground color. See |
bg |
background color. See |
attr |
character attribute. See |
Value
NULL
See Also
Other writing functions:
wrat()
,
wrch()
,
wrkpl()
,
wrkp()
Examples
mv_to(5,4)
wrch("h")
wrch("e", fg="red")
wr("llo World")
[Package cursr version 0.1.0 Index]