mirror of
https://github.com/sharkdp/bat
synced 2026-08-06 19:21:43 +00:00
fix bug where long lines were truncated in plain mode without wrap=never not being set
This commit is contained in:
committed by
David Peter
parent
7ffb04a17a
commit
83c9cb7907
+1
-1
@@ -101,7 +101,7 @@ impl OutputType {
|
||||
p.arg("--quit-if-one-screen");
|
||||
}
|
||||
|
||||
if wrapping_mode == WrappingMode::NoWrapping {
|
||||
if wrapping_mode == WrappingMode::NoWrapping(true) {
|
||||
p.arg("--chop-long-lines");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user