colored icon indicating copy to clipboard operation
colored copied to clipboard

Handle possible errors in `set_virtual_terminal`

Open madsmtm opened this issue 2 years ago • 0 comments

set_virtual_terminal was changed in https://github.com/mackwic/colored/pull/68 to never return an error - this is probably incorrect, as the underlying Win32 functions can definitely return errors.

Error handling grabbed from https://github.com/borntyping/rust-simple_logger/pull/11

madsmtm avatar Jan 13 '22 04:01 madsmtm