mirror of
https://github.com/sharkdp/bat
synced 2026-08-01 18:31:46 +00:00
Fix to not show style decorations in auto mode when piping
This commit is contained in:
+1
-2
@@ -384,8 +384,7 @@ impl App {
|
||||
.map(|s| s.as_str())
|
||||
== Some("always")
|
||||
|| self.matches.get_flag("force-colorization")
|
||||
|| self.matches.get_flag("number")
|
||||
|| self.matches.contains_id("style") && !style_components.plain()),
|
||||
|| self.matches.get_flag("number")),
|
||||
tab_width: self
|
||||
.matches
|
||||
.get_one::<String>("tabs")
|
||||
|
||||
Reference in New Issue
Block a user