Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle possible errors in set_virtual_terminal #105

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

madsmtm
Copy link
Contributor

@madsmtm madsmtm commented Jan 13, 2022

set_virtual_terminal was changed in #68 to never return an error - this is probably incorrect, as the underlying Win32 functions can definitely return errors.

Error handling grabbed from borntyping/rust-simple_logger#11

src/control.rs Show resolved Hide resolved
@hwittenborn hwittenborn force-pushed the master branch 3 times, most recently from 744b5dd to 1921f20 Compare July 3, 2023 11:42
@kurtlawrence kurtlawrence added the needs-changelog Will need a changelog entry when merged in label Dec 10, 2023
@kurtlawrence
Copy link
Collaborator

Conflicts need resolving

@kurtlawrence kurtlawrence merged commit a9aa7d8 into colored-rs:master Dec 11, 2023
7 of 14 checks passed
@madsmtm madsmtm deleted the windows-handle-errors branch December 11, 2023 08:47
kurtlawrence added a commit that referenced this pull request Dec 12, 2023
kurtlawrence added a commit that referenced this pull request Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-changelog Will need a changelog entry when merged in
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants