sharkdp/bat

--wrap unpaged

Open

#1081 opened on Jun 30, 2020

View on GitHub
 (11 comments) (3 reactions) (0 assignees)Rust (58,889 stars) (1,557 forks)batch import
feature-requestgood first issue

Description

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.

Contributor guide