Skip to content

Commit 4234944

Browse files
authored
more: use dev tty instead of mio to avoid panics (#6262)
* more: use dev tty instead of mio to avoid panics * move more specific dependecy to more package
1 parent 7a2314c commit 4234944

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

Cargo.lock

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/uu/more/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ unicode-segmentation = { workspace = true }
2424
[target.'cfg(all(unix, not(target_os = "fuchsia")))'.dependencies]
2525
nix = { workspace = true }
2626

27+
[target.'cfg(target_os = "macos")'.dependencies]
28+
crossterm = { workspace = true, features = ["use-dev-tty"] }
29+
2730
[[bin]]
2831
name = "more"
2932
path = "src/main.rs"

0 commit comments

Comments
 (0)