Function crossterm::color::from_screen
source · pub fn from_screen(screen: &Screen) -> TerminalColor<'_>
Expand description
Get a TerminalColor
instance whereon color related actions can be performed.
Pass the reference to any Screen
you want this type to perform actions on.