]> Sergey Matveev's repositories - public-inbox.git/commit
lei: fix oneshot TTY detection by passing STD*{GLOB}
authorEric Wong <e@80x24.org>
Sun, 10 Jan 2021 12:15:10 +0000 (12:15 +0000)
committerEric Wong <e@80x24.org>
Tue, 12 Jan 2021 03:51:42 +0000 (03:51 +0000)
commit372ff2ba6467e8fcea3eb19e5527a5fc398802f9
tree25666da8ab1d3a66ddf1a8e731fc93b4cff917db
parentc58c970e52e3315e407df5bf46092f613502caa6
lei: fix oneshot TTY detection by passing STD*{GLOB}

...  instead of STD*{IO}.  I'm not sure why *STDOUT{IO} being an
IO::File object disqualifies it from the "-t" perlop check
returning true on TTY, but it does.  So use *STDOUT{GLOB} for
now.

http://nntp.perl.org/group/perl.perl5.porters/258760
Message-ID: <X/kgIqIuh4ZtUZNR@dcvr>
lib/PublicInbox/LEI.pm