nategood / commando

An Elegant CLI Library for PHP
MIT License
798 stars 80 forks source link

Make tput OS aware #70

Closed cpalm1974 closed 5 years ago

cpalm1974 commented 7 years ago

On Windows tput causes error messages. To prevent this, a check has been introduced so that it's not tried to execute tput. Also on Linux it is now checked with "which" if tput is available before being called.

lecler-i commented 7 years ago

Can you merge this and release it ?

tolidano commented 5 years ago

ported relevant functionality to https://github.com/tolidano/commandox/pull/17

nategood commented 5 years ago

https://github.com/nategood/commando/pull/95