You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that rich is awesome, and I intuitively wanted to use rich as a replacement of less, which I usually use to have a quick look at text files from my terminal.
However, plain rich behaves more like cat 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 of rich users think the same way - I'd much prefer to have rich 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 plain cat-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:
In case it helps: I use rich the other way around, petty much. I still use less as my pager (I've been using it for enough decades that I can't stop typing it), but I use rich as the LESSOPEN to render things nicely. See this bit of code in my fish config.
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: