mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-29 09:06:02 +00:00
Add OutputHandle enum to use instead of &mut dyn io::Write
This commit is contained in:
1 parent
d295b3a394
commit
103a2f0d9b
4 files changed
+107
-52
No files matched your search
@@ -300,7 +300,7 @@ impl<'a> PrettyPrinter<'a> {
|
||||
|
||||
// Run the controller
|
||||
let controller = Controller::new(&self.config, &self.assets);
|
||||
controller.run(inputs.into_iter().map(|i| i.into()).collect())
|
||||
controller.run(inputs.into_iter().map(|i| i.into()).collect(), None)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user