Closed pemistahl closed 3 years ago
The problem is that, it checks if the stdout is a TTY and returns an error and if it is not, it works fine. But in reality it should be the inverse. I have fixed it, but hadn't pushed the changes. Pushing it now
Could you confirm that it works. Although, I recommend you to use one of the good versions as I am currently working on some breaking changes (although it's ready but the new docs are not)
Thanks for your quick response, Arijit.
I've just found out that this error occurs in the current master branch only. Version 1.0.0 runs fine in my terminal, however, version 1.0.1 produces a new bug:
error[E0425]: cannot find value `mutex` in this scope
--> src/static_pager.rs:96:26
|
96 | draw(mutex.lock().unwrap().clone(), rows, &mut upper_mark)
| ^^^^^ not found in this scope
But I can confirm that the new state on the master branch works as expected. I'm going to stick with version 1.0.0 for now and hope that it will work on all operating systems. Perhaps you can provide a bug fix release 1.0.2 soon which fixes the bug above in 1.0.1. Thank you.
1.0.2 is already published in crates.io. Could you check if that works for you
I've found 1.0.3 to be the latest version on crates.io. That one works for me. It would be useful if you created Git tags for each release so that releases on both GitHub and crates.io are in sync. That would make it easier to keep track.
Thanks for your help.
Hello,
I've been looking for a terminal paging library for Rust and have come across Minus. I've tried to run the examples in both zsh and bash on macOS. However, when I do this:
I always get this error:
Is macOS not supported yet? If not, what's the problem here? Thanks.