mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
Add a "builtin" pager using the Minus crate
This commit is contained in:
1 parent
929669728c
commit
a470cebf32
9 files changed
+257
-22
No files matched your search
@@ -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