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

io::Result cleanup #232

Merged
merged 8 commits into from
Sep 18, 2019
Merged

io::Result cleanup #232

merged 8 commits into from
Sep 18, 2019

Conversation

zrzka
Copy link
Contributor

@zrzka zrzka commented Sep 18, 2019

  • All functions in all crates (except crossterm_winapi) returns crossterm::Result (io::Result removed)
  • Only the crossterm_winapi crate functions returns io::Result
    • Result<T, ErrorKind> is defined in the crossterm_utils, which is not accessible from (-winapi)

Fixes #229

Unix platform only for now.

Signed-off-by: Robert Vojta <[email protected]>
Signed-off-by: Robert Vojta <[email protected]>
Signed-off-by: Robert Vojta <[email protected]>
Signed-off-by: Robert Vojta <[email protected]>
Signed-off-by: Robert Vojta <[email protected]>
examples/command.rs Outdated Show resolved Hide resolved
examples/command.rs Outdated Show resolved Hide resolved
examples/command.rs Outdated Show resolved Hide resolved
examples/command.rs Outdated Show resolved Hide resolved
examples/key_events.rs Outdated Show resolved Hide resolved
examples/key_events.rs Outdated Show resolved Hide resolved
@TimonPost TimonPost merged commit 05d28b4 into crossterm-rs:master Sep 18, 2019
@zrzka zrzka deleted the zrzka/io-result-hunt branch September 19, 2019 11:56
december1981 pushed a commit to december1981/crossterm that referenced this pull request Oct 26, 2023
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.

io::Result vs crossterm::Result
2 participants