Skip to content

Commit

Permalink
🚩Fix zeenix#20
Browse files Browse the repository at this point in the history
Enables `use-dev-tty` feature in crossterm.
  • Loading branch information
Cem Eliguzel committed May 29, 2023
1 parent d8ec37e commit 3919572
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -13,7 +13,7 @@ categories = ["development-tools"]

[dependencies]
clap = { version = "4.3.0", features = ["derive"] }
crossterm = "0.26.1"
crossterm = {version = "0.26.1", features = ["use-dev-tty"] }
dirs = "5.0.1"
ureq = { version = "2.6.2", default-features = false, features = ["tls"] }
serde = { version = "1.0.163", features = ["derive"] }
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Expand Up @@ -142,4 +142,5 @@ const HOOK_CONTENT: &str = r#"
# gimoji as a commit hook
exec < /dev/tty
gimoji --hook $1 $2
"#;

0 comments on commit 3919572

Please sign in to comment.