mirror of
https://github.com/sharkdp/bat
synced 2024-11-22 20:03:06 +00:00
Small style changes to --list-themes
This commit is contained in:
parent
cda54e4f61
commit
fd2b376ea0
2 changed files with 7 additions and 7 deletions
|
@ -139,10 +139,10 @@ pub fn list_themes(assets: &HighlightingAssets, cfg: &Config) {
|
||||||
config.files = vec![Some("assets/theme_preview.rs")];
|
config.files = vec![Some("assets/theme_preview.rs")];
|
||||||
config.output_components = OutputComponents(style);
|
config.output_components = OutputComponents(style);
|
||||||
for (theme, _) in themes.iter() {
|
for (theme, _) in themes.iter() {
|
||||||
println!("{}\n", Style::new().bold().paint(theme.to_string()));
|
println!("Theme: {}\n", Style::new().bold().paint(theme.to_string()));
|
||||||
config.theme = theme.to_string();
|
config.theme = theme.to_string();
|
||||||
let _controller = Controller::new(&config, &assets).run();
|
let _controller = Controller::new(&config, &assets).run();
|
||||||
println!("--------------------------------\n");
|
println!()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue