attr_on: Attributes On

Description Usage Arguments Details Value See Also Examples

View source: R/3-Style.R

Description

Turns on text attributes in terminal, including bold text, italics, underline, etc. Note that not all terminals support each attribute.

Usage

1

Arguments

...

characters indicating attributes to turn on. "bf" for bold face; "ft" for faint; "it" for italics; "ul" for underline; "sb" for slow blink; "fb" for fast blink; "rv" for reverse video (invert bg and fg colors); "st" for strike-through

Details

Use attr_off to turn off the attributes.

Value

NULL

See Also

Other style functions: attr_off(), bg_off(), bg_on(), color_off(), color_pair(), fg_off(), fg_on(), make_bg(), make_fg(), make_style(), reset(), style()

Examples

1
2
3
4
cat("hello world!\n")
attr_on("bf", "ul")
cat("hello world!\n")
attr_off()

cursr documentation built on Jan. 13, 2021, 7:35 a.m.