mirror of
https://github.com/sharkdp/bat
synced 2026-07-30 18:11:44 +00:00
Return theme alongside detected color scheme
This commit is contained in:
+1
-1
@@ -254,7 +254,7 @@ impl App {
|
||||
Some("auto") => StripAnsiMode::Auto,
|
||||
_ => unreachable!("other values for --strip-ansi are not allowed"),
|
||||
},
|
||||
theme: theme(self.theme_options()),
|
||||
theme: theme(self.theme_options()).to_string(),
|
||||
visible_lines: match self.matches.try_contains_id("diff").unwrap_or_default()
|
||||
&& self.matches.get_flag("diff")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user