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 changed files with 1 additions and 1 deletions

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)
}
}