Function ncursesw::use_default_colors
source · [−]pub fn use_default_colors() -> Result<(), NCurseswError>
Expand description
Allow use of default values for colors on terminals supporting this
feature. Use this to support transparency in your application.
The default color is assigned to the color Color::TerminalDefault
.
The following are equivalent:
use_default_colors()?;
assume_default_colors(Colors::new(Color::TerminalDefault, Color::TerminalDefault));