unread
Hi Derick,
Thanks, that is helpful.
I have made both changes now. The extension is at v0.6.0:
https://github.com/prateekbhujel/php-terminal/releases/tag/v0.6.0
The stream-aware methods now accept existing PHP stream resources as well
as the enum defaults, so calls can use STDOUT, STDERR, STDIN, or
php://stdout/php://stderr where the underlying stream can be mapped to a
native descriptor/handle. The enum API is still kept as the convenient
default.
I also published it through Packagist for PIE:
pie install prateekbhujel/php-terminal
Thanks again for taking another look.
Regards,
Pratik