Add a "builtin" pager using the Minus crate

This commit is contained in:
Daniel Waechter authored and Academician committed 2025-09-09 16:15:54 -04:00
1 parent 929669728c
commit a470cebf32
9 files changed
+257 -22

No files matched your search

+1 -1
View File
@@ -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)