1
0
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:
Keith Hall
2025-11-29 17:32:49 +02:00
parent d17481575a
commit 7d37325c19
3 changed files with 5 additions and 12 deletions
+1 -2
View File
@@ -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")