mirror of
https://github.com/sharkdp/bat
synced 2026-08-09 19:51:48 +00:00
+1
-1
@@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user