-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rich as a drop-in replacement for "more"/"less" #72
Comments
In case it helps: I use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a feature request, sort of.
I think that
rich
is awesome, and I intuitively wanted to userich
as a replacement ofless
, which I usually use to have a quick look at text files from my terminal.However, plain
rich
behaves more likecat
in that it prints all the stuff to the console and then exits. However - this is of course a personal opinion, but maybe the majority ofrich
users think the same way - I'd much prefer to haverich
use--pager
by default.So my question is: Wouldn't it make sense to have
rich
use the pager by default when in an interactive terminal, and fall back to plaincat
-behaviour when used e.g. in pipes or something?Sure, I could solve this with an alias. But I really think that maybe this could be a useful default behaviour for the majority.
Thanks for the great work on
rich
and the other related toolkits! 🚀The text was updated successfully, but these errors were encountered: