-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows – Color not working #28
Comments
Does this happen with the examples in /examples? |
yes |
Does this lib support windows env? I imagine that would be quite difficult to create parallel feature support |
I don't have a windows machine or VM handy to debug. Might have something to do with the Colors.php library. Have you tried running examples directly from the Colors.php library? |
Hi, |
Specifically I think the issue is that I created a |
This happens when executing "tput" to get the width of the terminal in Terminal.php line 51 ff.
It would be more optimal if at first the os is detected with the PHP_OS constant and check for the first 3 characters = "WIN".
So you'd have to maybe regex to get the second line after "-----". |
I think the tput function could be optimized like the following. It's working good in my environment.
Maybe you can import the changes... |
Hi
Using windows environment
try to use --help, got this errors, just right before filename appeared=
Yes, 3 in a row.
Thanks
The text was updated successfully, but these errors were encountered: