mirror of
https://github.com/sharkdp/bat.git
synced 2025-10-06 20:03:54 +01:00
Add a "builtin" pager using the Minus crate
This commit is contained in:
committed by
Academician
parent
929669728c
commit
a470cebf32
@@ -328,7 +328,7 @@ impl<'a> PrettyPrinter<'a> {
|
||||
if let Some(mut w) = writer {
|
||||
controller.run(
|
||||
inputs.into_iter().map(|i| i.into()).collect(),
|
||||
Some(OutputHandle::FmtWrite(&mut w)),
|
||||
Some(&mut OutputHandle::FmtWrite(&mut w)),
|
||||
)
|
||||
} else {
|
||||
controller.run(inputs.into_iter().map(|i| i.into()).collect(), None)
|
||||
|
Reference in New Issue
Block a user