-
Notifications
You must be signed in to change notification settings - Fork 14
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
Turn formatting on/off #6
Comments
You can turn formatting off with the following code: $cli = new Cli();
$cli->format = false; I look into a way of turning formatting off by default on Windows. |
Can you tell me what the output of the following command is on your Windows terminal? echo shell_exec('tput colors 2> output'); |
On my computer it prints 8 and puts nothing in the file. You're probably more interested in what SHOULD happen, and that is something along the lines of this command doesn't exist being printed to the output file.
I can very well live with turning it off by hand, though... |
Okay thanks for the info. I'm going to think about whether or not to add the default based solely on the OS being Windows. It sounds sensible, but then someone will come along with Cygwin. |
Windows 10 now supports colors in conhost, so it would be nice to revisit this. |
I've been trying the library on windows and that doesn't support the bold or colored items you have in there by default. It would be great if there was a way to turn that off without having to fiddle with the libraries code.
The text was updated successfully, but these errors were encountered: