Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bg_off

Turn Off Background Color


Description

Return the background of future terminal text to the default color. Background color is turned on with bg_on.

Usage

bg_off()

Value

NULL

See Also

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

Examples

# Different methods of specifying yellow
bg_on("yellow")
bg_on("#FFFF00")
bg_on(11)
bg_on(255, 255, 0)

# Turn off color
bg_off()

cursr

Cursor and Terminal Manipulation

v0.1.0
MIT + file LICENSE
Authors
Chris Mann
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.