The Wayback Machine - https://web.archive.org/web/20200827053516/https://github.com/sharkdp/bat/issues/1081
Skip to content
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

--wrap unpaged #1081

Open
nyarly opened this issue Jun 30, 2020 · 1 comment
Open

--wrap unpaged #1081

nyarly opened this issue Jun 30, 2020 · 1 comment

Comments

@nyarly
Copy link

@nyarly nyarly commented Jun 30, 2020

I love it when bat wraps lines in a single page of output. When output needs to be sent to the pager, though, the wrapped lines are actively unhelpful. I'm very used to issuing -S to less once a log file is open to change the line wrapping live.

I'd like a --wrap mode that behaves like auto for unpaged output, but never when piping to less.

@sharkdp
Copy link
Owner

@sharkdp sharkdp commented Jul 5, 2020

Sounds good to me - thank you for the feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.