term.set_style

term

set_style(...)

Apply ANSI styles to the terminal immediately