Commit fe26e9f0 authored by Marco Schmiedel's avatar Marco Schmiedel

finish stage 1

parent 390e32b2
This diff is collapsed.
......@@ -10,7 +10,7 @@
| sidekick package.
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Date: 2021-12-20 15:38:03
| Date: 2021-12-23 19:51:17
|
*/
namespace Ceetrox\Managers\TerminalManager;
......@@ -43,6 +43,30 @@
}
/*
|--------------------------------------------------------------------------------------------
| Method "brightYellow"
|--------------------------------------------------------------------------------------------
*/
static function brightYellow($text)
{
return TerminalManager::brightColor($text, 11);
}
/*
|--------------------------------------------------------------------------------------------
| Method "darkWhite"
|--------------------------------------------------------------------------------------------
*/
static function darkWhite($text)
{
return TerminalManager::darkColor($text, 15);
}
/*
|--------------------------------------------------------------------------------------------
| Method "darkColor"
......@@ -85,9 +109,9 @@
/*
|----------------------------------------------------------------------------------------
| Create the counter value.
| Create a counter value.
*/
$i1=16;
$i1 = 16;
/*
|----------------------------------------------------------------------------------------
......@@ -97,15 +121,15 @@
{
/*
|------------------------------------------------------------------------------------
| Calculate 7 columns per line.
| Calculate 7 color columns per line.
*/
$i1=$i1;
$i2=$i1+36;
$i3=$i2+36;
$i4=$i3+36;
$i5=$i4+36;
$i6=$i5+36;
$i7=$i6+36;
$i1 = $i1;
$i2 = $i1+36;
$i3 = $i2+36;
$i4 = $i3+36;
$i5 = $i4+36;
$i6 = $i5+36;
$i7 = $i6+36;
if ( $i7 > 250 ) { $i7 = $i7-251; }
......@@ -130,20 +154,20 @@
/*
|------------------------------------------------------------------------------------
| Add break at the end of the line.
| Add break at the end of each line.
*/
$text .= "\n";
/*
|------------------------------------------------------------------------------------
| Increase value to the line counter.
| Increase value to the color counter.
*/
$i1 += 1;
}
/*
|----------------------------------------------------------------------------------------
| Return string for terminal output.
| Return a string for terminal output.
*/
return $text;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment