Learn R Programming

cursr (version 0.1.0)

fg_off: Turn Off Foreground Color

Description

Return future terminal text to the default color. Foreground color is turned on with fg_on.

Usage

fg_off()

Arguments

Value

NULL

See Also

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

Examples

Run this code
# NOT RUN {
# Different methods of specifying red
fg_on("red")
fg_on("#FF0000")
fg_on(1)
fg_on(255, 0, 0)

# Turn off color
fg_off()

# }

Run the code above in your browser using DataLab