|
|
@ -128,7 +128,7 @@ public final function Color GetColor() |
|
|
|
* Sets default color for caller 'ConsoleWriter`'s output. |
|
|
|
* Sets default color for caller 'ConsoleWriter`'s output. |
|
|
|
* |
|
|
|
* |
|
|
|
* This only changes default color, i.e. color that will be used if no other is |
|
|
|
* This only changes default color, i.e. color that will be used if no other is |
|
|
|
* specified by `newDefaultColor`. If color is specified, this value will |
|
|
|
* specified by "temporary" color. If color is specified, this value will |
|
|
|
* be ignored. |
|
|
|
* be ignored. |
|
|
|
* |
|
|
|
* |
|
|
|
* If you only want to quickly color certain part of output, it is better to |
|
|
|
* If you only want to quickly color certain part of output, it is better to |
|
|
@ -159,10 +159,6 @@ public final function ConsoleWriter SetColor(Color newDefaultColor) |
|
|
|
* For quickly coloring certain parts of output: |
|
|
|
* For quickly coloring certain parts of output: |
|
|
|
* `console.UseColor(_.color.blue).Write(blueMessage).ResetColor()`. |
|
|
|
* `console.UseColor(_.color.blue).Write(blueMessage).ResetColor()`. |
|
|
|
* |
|
|
|
* |
|
|
|
* This only changes default text color, i.e. color that will be used if no |
|
|
|
|
|
|
|
* other is specified by `temporaryColor`. If color is specified, this value |
|
|
|
|
|
|
|
* will be ignored. |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* Consecutive calls do not "stack up" colors - only last one is remembered: |
|
|
|
* Consecutive calls do not "stack up" colors - only last one is remembered: |
|
|
|
* `console.UseColor(_.color.blue).UseColor(_.color.green)` is the same as |
|
|
|
* `console.UseColor(_.color.blue).UseColor(_.color.green)` is the same as |
|
|
|
* `console.UseColor(_.color.green)`. |
|
|
|
* `console.UseColor(_.color.green)`. |
|
|
|