Skip to content

Commit

Permalink
Disable wrapping when --style is plain
Browse files Browse the repository at this point in the history
closes #289
  • Loading branch information
sharkdp committed Sep 18, 2018
1 parent 732750c commit 9020af0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@ impl OutputComponents {
}

pub fn plain(&self) -> bool {
self.0.is_empty()
self.0.iter().all(|c| c == &OutputComponent::Plain)
}
}

0 comments on commit 9020af0

Please sign in to comment.