fix bug where long lines were truncated in plain mode without wrap=never not being set

This commit is contained in:
mark chaitin authored and David Peter committed 2021-01-09 15:21:26 +01:00
1 parent 7ffb04a17a
commit 83c9cb7907
5 files changed
+52 -49

No files matched your search

+1 -1
View File
@@ -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");
}