fix: add use-dev-tty to fix piping to Yazi on macOS (#1317)

Co-authored-by: sxyazi <sxyazi@gmail.com>
This commit is contained in:
Joshua Li 2024-07-20 01:26:37 -07:00 committed by GitHub
parent 640efcee26
commit bba32ed0b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 43 additions and 10 deletions

View file

@ -31,6 +31,9 @@ clap_complete_nushell = "4.5.2"
serde_json = "1.0.120"
vergen-gitcl = { version = "1.0.0", features = [ "build" ] }
[target.'cfg(target_os = "macos")'.dependencies]
crossterm = { version = "0.27.0", features = [ "use-dev-tty" ] }
[[bin]]
name = "ya"
path = "src/main.rs"