Enable non-printable chars for redirected output (#1061)

This commit is contained in:
Evgeniy Andreev (gsomix)
2020-06-20 19:00:32 +04:00
parent 62b4452057
commit 3c5ce9f86c
5 changed files with 30 additions and 7 deletions

View File

@ -113,7 +113,7 @@ impl<'b> Controller<'b> {
};
let mut printer: Box<dyn Printer> = if self.config.loop_through {
Box::new(SimplePrinter::new())
Box::new(SimplePrinter::new(&self.config))
} else {
Box::new(InteractivePrinter::new(
&self.config,