Skip to content

Commit d30bd49

Browse files
committed
Add documentation about disabling colors to readme
1 parent e484ad6 commit d30bd49

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,13 @@ Ahc\Cli\Output\Color::style('error', [
508508
]);
509509
```
510510

511+
#### Disable colors
512+
513+
```php
514+
Ahc\Cli\Output\Color::$colors_enabled = false;
515+
```
516+
517+
511518
### Cursor
512519

513520
Move cursor around, erase line up or down, clear screen.

0 commit comments

Comments
 (0)