Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't block IO::Handle.get on TTYs after we reached EOF
Fixes RT#130086: https://rt.perl.org/Ticket/Display.html?id=130086 We don't block on non-TTYs nor do we block with other method such as .read. While TTYs require an extra read to figure out when they reach EOF, once we know we're at EOF, there's no point trying to read again.
- Loading branch information