Skip to content

Commit

Permalink
Merge pull request #22 from adrianbenavides/adrian/upgrade-crossterm
Browse files Browse the repository at this point in the history
feat: upgrade crossterm to 0.27.0
  • Loading branch information
dalance committed Mar 6, 2024
2 parents 13c478a + 208f1df commit a15a133
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ pre-release-replacements = [
]

[dependencies]
async-std = "1.9.0"
crossterm = "0.19"
async-std = "1"
crossterm = "0"
thiserror = "1"
is-terminal = "0.4.9"
is-terminal = "0"

[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "0.3", features = ["wincon", "winbase", "processenv", "impl-default"] }
7 changes: 1 addition & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,10 @@ pub enum Theme {
/// Error
#[derive(Error, Debug)]
pub enum Error {
#[error("terminal error")]
Terminal {
#[from]
source: crossterm::ErrorKind,
},
#[error("io error")]
Io {
#[from]
source: std::io::Error,
source: io::Error,
},
#[error("parse error")]
Parse(String),
Expand Down

0 comments on commit a15a133

Please sign in to comment.