sharkdp/bat

--wrap unpaged

Open

#1,081 opened on 2020年6月30日

GitHub で見る
 (11 comments) (4 reactions) (0 assignees)Rust (1,557 forks)batch import
feature-requestgood first issue

Repository metrics

Stars
 (58,889 stars)
PR merge metrics
 (平均マージ 16d 6h) (30d で 11 merged PRs)

説明

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.

コントリビューターガイド