1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-05 19:11:42 +00:00

Refactoring, introduce Printer trait

This commit is contained in:
sharkdp
2018-08-23 19:43:10 +02:00
parent 6223ad6d52
commit ea955c734d
5 changed files with 77 additions and 51 deletions
+6 -1
View File
@@ -104,7 +104,12 @@ fn run() -> Result<bool> {
Ok(true)
} else {
print_files(&assets, &config)
if config.loop_through {
// TODO
print_files(&assets, &config)
} else {
print_files(&assets, &config)
}
}
}
}