pub fn set_text_attributes<H: AsHandleRef>(h: H, attributes: u16) -> Result<()>
Expand description
Set the text attributes of the console represented by the given handle.
This corresponds to calling SetConsoleTextAttribute
.
pub fn set_text_attributes<H: AsHandleRef>(h: H, attributes: u16) -> Result<()>
Set the text attributes of the console represented by the given handle.
This corresponds to calling SetConsoleTextAttribute
.