sharkdp/bat

--wrap unpaged

Open

#1,081 建立於 2020年6月30日

在 GitHub 查看
 (11 留言) (3 反應) (0 負責人)Rust (58,889 star) (1,557 fork)batch import
feature-requestgood first issue

描述

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.

貢獻者指南