mirror of https://github.com/sharkdp/bat.git
parent
254efac9c2
commit
20b02e72b3
|
@ -81,6 +81,6 @@ impl OutputComponents {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn plain(&self) -> bool {
|
pub fn plain(&self) -> bool {
|
||||||
self.0.is_empty()
|
self.0.iter().all(|c| c == &OutputComponent::Plain)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue