diff --git a/bin/domain/imag-todo/src/lib.rs b/bin/domain/imag-todo/src/lib.rs index 2b6d4d15..1ee53439 100644 --- a/bin/domain/imag-todo/src/lib.rs +++ b/bin/domain/imag-todo/src/lib.rs @@ -323,7 +323,7 @@ fn list_todos(rt: &Runtime, matcher: &StatusMatcher, show_hidden: bool) -> Resul } }) .and_then_ok(|entry| { - if show_hidden || filter_hidden.filter(&entry)? { + if !rt.output_is_pipe() && (show_hidden || filter_hidden.filter(&entry)?) { viewer.view_entry(&entry, &mut rt.stdout())?; }