1
0
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:
eth-p
2018-09-07 10:51:47 -07:00
committed by David Peter
parent fb61aa4f60
commit d8030626f8
2 changed files with 17 additions and 11 deletions
+4
View File
@@ -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()
}
}