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

Refactored winapi and moved code to (crossterm_winapi) #67

Merged
merged 2 commits into from
Dec 31, 2018

Conversation

TimonPost
Copy link
Member

I refactored the whole WinApi to make it more robust whit error handling. I moved some logic to its own crate crossterm_winapi why did I do this? I did this because of a future idea I have about having the option to use all cross-term modules separate from each other, they will be basically their own crate. So I started whit abstracting away some code so that it is easier to reuse it later in other crates. Also, this enables non-cross-term users to use my WinApi abstractions.

Currently, I have focused on removing all the unwraps according to #40 by bubbling them all up. However, I had to stop at some point because I needed to change the user API, because of that I want to have it in a separate PR.

@TimonPost TimonPost merged commit ff9b5d9 into master Dec 31, 2018
@TimonPost TimonPost deleted the winapi_refactor branch January 7, 2019 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant