mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
Automatically disable wrapping when style is plain.
This commit is contained in:
1 parent
fb61aa4f60
commit
d8030626f8
2 files changed
+17
-11
No files matched your search
@@ -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