From 85d10e97f7c07855c1bbe9bd89e5ebc1aa10352f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 2 Feb 2021 22:11:43 -1000 Subject: lei q: support reading queries from stdin This will be useful on shared machines when a user doesn't want search queries visible to other users looking at the ps(1) output or similar. --- lib/PublicInbox/LeiOverview.pm | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/PublicInbox/LeiOverview.pm') diff --git a/lib/PublicInbox/LeiOverview.pm b/lib/PublicInbox/LeiOverview.pm index 88034ada..e33d63a2 100644 --- a/lib/PublicInbox/LeiOverview.pm +++ b/lib/PublicInbox/LeiOverview.pm @@ -81,7 +81,6 @@ sub new { my ($isatty, $seekable); if ($dst eq '/dev/stdout') { $isatty = -t $lei->{1}; - $lei->start_pager if $isatty; $opt->{pretty} //= $isatty; if (!$isatty && -f _) { my $fl = fcntl($lei->{1}, F_GETFL, 0) // -- cgit v1.2.3-24-ge0c7