Skip to content

Commit

Permalink
more: use dev tty instead of mio to avoid panics (#6262)
Browse files Browse the repository at this point in the history
* more: use dev tty instead of mio to avoid panics

* move more specific dependecy to more package
  • Loading branch information
apatrushev authored Apr 23, 2024
1 parent 7a2314c commit 4234944
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
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.

3 changes: 3 additions & 0 deletions src/uu/more/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ unicode-segmentation = { workspace = true }
[target.'cfg(all(unix, not(target_os = "fuchsia")))'.dependencies]
nix = { workspace = true }

[target.'cfg(target_os = "macos")'.dependencies]
crossterm = { workspace = true, features = ["use-dev-tty"] }

[[bin]]
name = "more"
path = "src/main.rs"

0 comments on commit 4234944

Please sign in to comment.