Fix imag-view for new view_entry() interface
This commit is contained in:
parent
55d9b5456f
commit
653db333e6
1 changed files with 4 additions and 1 deletions
|
@ -185,6 +185,9 @@ fn main() {
|
||||||
viewer.wrap_at(width);
|
viewer.wrap_at(width);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let output = rt.stdout();
|
||||||
|
let mut lockout = output.lock();
|
||||||
|
|
||||||
entry_ids
|
entry_ids
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.into_get_iter(rt.store())
|
.into_get_iter(rt.store())
|
||||||
|
@ -195,7 +198,7 @@ fn main() {
|
||||||
.map_err_trace_exit_unwrap(1)
|
.map_err_trace_exit_unwrap(1)
|
||||||
})
|
})
|
||||||
.for_each(|e| {
|
.for_each(|e| {
|
||||||
viewer.view_entry(&e).map_err_trace_exit_unwrap(1);
|
viewer.view_entry(&e, &mut lockout).map_err_trace_exit_unwrap(1);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue