mirror of
https://github.com/sharkdp/bat
synced 2026-08-03 18:51:44 +00: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