mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-04 12:22:28 +01:00
Automatically disable wrapping when style is plain.
This commit is contained in:
@@ -78,4 +78,8 @@ impl OutputComponents {
|
||||
pub fn numbers(&self) -> bool {
|
||||
self.0.contains(&OutputComponent::Numbers)
|
||||
}
|
||||
|
||||
pub fn plain(&self) -> bool {
|
||||
self.0.is_empty()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user