Learn R Programming

cursr (version 0.1.0)

color_off: Turn Off Colors in Terminal

Description

Return the background and foreground of future terminal text to the default colors.

Usage

color_off()

Arguments

Value

NULL

See Also

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

Examples

Run this code
# NOT RUN {
bg_on("red")
fg_on("yellow")

# Turn off color
color_off()

# }

Run the code above in your browser using DataLab