1
0
mirror of https://github.com/sharkdp/bat synced 2026-06-30 13:33:16 +00:00

Disable wrapping when --style is plain

closes #289
This commit is contained in:
sharkdp
2018-09-18 20:31:39 +02:00
committed by David Peter
parent 254efac9c2
commit 20b02e72b3
+1 -1
View File
@@ -81,6 +81,6 @@ impl OutputComponents {
}
pub fn plain(&self) -> bool {
self.0.is_empty()
self.0.iter().all(|c| c == &OutputComponent::Plain)
}
}