<spanid="cpl-console-background-color-enum-module"></span><h2>cpl.console.background_color_enum module<aclass="headerlink"href="#module-cpl.console.background_color_enum"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl.console.background_color_enum.</span></code><codeclass="sig-name descname"><spanclass="pre">BackgroundColorEnum</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">value</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.background_color_enum.BackgroundColorEnum"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">blue</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'on_blue'</span></em><aclass="headerlink"href="#cpl.console.background_color_enum.BackgroundColorEnum.blue"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">cyan</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'on_cyan'</span></em><aclass="headerlink"href="#cpl.console.background_color_enum.BackgroundColorEnum.cyan"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">default</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'on_default'</span></em><aclass="headerlink"href="#cpl.console.background_color_enum.BackgroundColorEnum.default"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">green</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'on_green'</span></em><aclass="headerlink"href="#cpl.console.background_color_enum.BackgroundColorEnum.green"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">grey</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'on_grey'</span></em><aclass="headerlink"href="#cpl.console.background_color_enum.BackgroundColorEnum.grey"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">magenta</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'on_magenta'</span></em><aclass="headerlink"href="#cpl.console.background_color_enum.BackgroundColorEnum.magenta"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">red</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'on_red'</span></em><aclass="headerlink"href="#cpl.console.background_color_enum.BackgroundColorEnum.red"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">white</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'on_white'</span></em><aclass="headerlink"href="#cpl.console.background_color_enum.BackgroundColorEnum.white"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">yellow</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'on_yellow'</span></em><aclass="headerlink"href="#cpl.console.background_color_enum.BackgroundColorEnum.yellow"title="Permalink to this definition">¶</a></dt>
<spanid="cpl-console-console-module"></span><h2>cpl.console.console module<aclass="headerlink"href="#module-cpl.console.console"title="Permalink to this headline">¶</a></h2>
<dlclass="py class">
<dtid="cpl.console.console.Console">
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl.console.console.</span></code><codeclass="sig-name descname"><spanclass="pre">Console</span></code><aclass="headerlink"href="#cpl.console.console.Console"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">background_color</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'on_default'</span></em><aclass="headerlink"href="#cpl.console.console.Console.background_color"title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="py method">
<dtid="cpl.console.console.Console.banner">
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">banner</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.console.Console.banner"title="Permalink to this definition">¶</a></dt>
<dd><p>Prints the string as a banner
:param string:
:return:</p>
</dd></dl>
<dlclass="py method">
<dtid="cpl.console.console.Console.clear">
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">clear</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.console.Console.clear"title="Permalink to this definition">¶</a></dt>
<dd><p>Clears the console
:return:</p>
</dd></dl>
<dlclass="py method">
<dtid="cpl.console.console.Console.close">
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">close</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.console.Console.close"title="Permalink to this definition">¶</a></dt>
<dd><p>Close the application
:return:</p>
</dd></dl>
<dlclass="py method">
<dtid="cpl.console.console.Console.color_reset">
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">color_reset</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.console.Console.color_reset"title="Permalink to this definition">¶</a></dt>
<dd><p>Resets color
:return:</p>
</dd></dl>
<dlclass="py method">
<dtid="cpl.console.console.Console.disable">
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">disable</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.console.Console.disable"title="Permalink to this definition">¶</a></dt>
<dd><p>Disable console interaction
:return:</p>
</dd></dl>
<dlclass="py method">
<dtid="cpl.console.console.Console.enable">
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">enable</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.console.Console.enable"title="Permalink to this definition">¶</a></dt>
<dd><p>Enable console interaction
:return:</p>
</dd></dl>
<dlclass="py method">
<dtid="cpl.console.console.Console.error">
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">error</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">str</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">tb</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.console.Console.error"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">foreground_color</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'default'</span></em><aclass="headerlink"href="#cpl.console.console.Console.foreground_color"title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="py method">
<dtid="cpl.console.console.Console.read">
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">read</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">output</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">str</span><aclass="headerlink"href="#cpl.console.console.Console.read"title="Permalink to this definition">¶</a></dt>
<dd><p>Read in line
:param output:
:return:</p>
</dd></dl>
<dlclass="py method">
<dtid="cpl.console.console.Console.read_line">
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">read_line</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">output</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">str</span><aclass="headerlink"href="#cpl.console.console.Console.read_line"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">reset_cursor_position</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.console.Console.reset_cursor_position"title="Permalink to this definition">¶</a></dt>
<dd><p>Resets cursor position
:return:</p>
</dd></dl>
<dlclass="py method">
<dtid="cpl.console.console.Console.select">
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">select</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="pre">char:</span><spanclass="pre">str</span></em>, <emclass="sig-param"><spanclass="pre">message:</span><spanclass="pre">str</span></em>, <emclass="sig-param"><spanclass="pre">options:</span><spanclass="pre">list</span></em>, <emclass="sig-param"><spanclass="pre">header_foreground_color:</span><spanclass="pre">Union[str</span></em>, <emclass="sig-param"><spanclass="pre">cpl.console.foreground_color_enum.ForegroundColorEnum]</span><spanclass="pre">=</span><spanclass="pre"><ForegroundColorEnum.default:</span><spanclass="pre">'default'></span></em>, <emclass="sig-param"><spanclass="pre">header_background_color:</span><spanclass="pre">Union[str</span></em>, <emclass="sig-param"><spanclass="pre">cpl.console.background_color_enum.BackgroundColorEnum]</span><spanclass="pre">=</span><spanclass="pre"><BackgroundColorEnum.default:</span><spanclass="pre">'on_default'></span></em>, <emclass="sig-param"><spanclass="pre">option_foreground_color:</span><spanclass="pre">Union[str</span></em>, <emclass="sig-param"><spanclass="pre">cpl.console.foreground_color_enum.ForegroundColorEnum]</span><spanclass="pre">=</span><spanclass="pre"><ForegroundColorEnum.default:</span><spanclass="pre">'default'></span></em>, <emclass="sig-param"><spanclass="pre">option_background_color:</span><spanclass="pre">Union[str</span></em>, <emclass="sig-param"><spanclass="pre">cpl.console.background_color_enum.BackgroundColorEnum]</span><spanclass="pre">=</span><spanclass="pre"><BackgroundColorEnum.default:</span><spanclass="pre">'on_default'></span></em>, <emclass="sig-param"><spanclass="pre">cursor_foreground_color:</span><spanclass="pre">Union[str</span></em>, <emclass="sig-param"><spanclass="pre">cpl.console.foreground_color_enum.ForegroundColorEnum]</span><spanclass="pre">=</span><spanclass="pre"><ForegroundColorEnum.default:</span><spanclass="pre">'default'></span></em>, <emclass="sig-param"><spanclass="pre">cursor_background_color:</span><spanclass="pre">Union[str</span></em>, <emclass="sig-param"><spanclass="pre">cpl.console.background_color_enum.BackgroundColorEnum]</span><spanclass="pre">=</span><spanclass="pre"><BackgroundColorEnum.default:</span><spanclass="pre">'on_default'></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">str</span><aclass="headerlink"href="#cpl.console.console.Console.select"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">set_background_color</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">color</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">Union</span><spanclass="p"><spanclass="pre">[</span></span><aclass="reference internal"href="#cpl.console.background_color_enum.BackgroundColorEnum"title="cpl.console.background_color_enum.BackgroundColorEnum"><spanclass="pre">cpl.console.background_color_enum.BackgroundColorEnum</span></a><spanclass="p"><spanclass="pre">,</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.console.Console.set_background_color"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">set_cursor_position</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">x</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">int</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">y</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">int</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.console.Console.set_cursor_position"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">set_foreground_color</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">color</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">Union</span><spanclass="p"><spanclass="pre">[</span></span><aclass="reference internal"href="#cpl.console.foreground_color_enum.ForegroundColorEnum"title="cpl.console.foreground_color_enum.ForegroundColorEnum"><spanclass="pre">cpl.console.foreground_color_enum.ForegroundColorEnum</span></a><spanclass="p"><spanclass="pre">,</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.console.Console.set_foreground_color"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">set_hold_back</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">value</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">bool</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.console.Console.set_hold_back"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">table</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">header</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">list</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">values</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">list</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.console.Console.table"title="Permalink to this definition">¶</a></dt>
<dd><p>Prints a table with header and values
:param header:
:param values:
:return:</p>
</dd></dl>
<dlclass="py method">
<dtid="cpl.console.console.Console.write">
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">write</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">args</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">end</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">''</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.console.Console.write"title="Permalink to this definition">¶</a></dt>
<dd><p>Prints in active line
:param args:
:param end:
:return:</p>
</dd></dl>
<dlclass="py method">
<dtid="cpl.console.console.Console.write_at">
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">write_at</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">x</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">int</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">y</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">int</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">args</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.console.Console.write_at"title="Permalink to this definition">¶</a></dt>
<dd><p>Prints at given position
:param x:
:param y:
:param args:
:return:</p>
</dd></dl>
<dlclass="py method">
<dtid="cpl.console.console.Console.write_line">
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">write_line</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">args</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.console.Console.write_line"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">classmethod</span></em><codeclass="sig-name descname"><spanclass="pre">write_line_at</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">x</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">int</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">y</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">int</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">args</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.console.Console.write_line_at"title="Permalink to this definition">¶</a></dt>
<spanid="cpl-console-console-call-module"></span><h2>cpl.console.console_call module<aclass="headerlink"href="#module-cpl.console.console_call"title="Permalink to this headline">¶</a></h2>
<dlclass="py class">
<dtid="cpl.console.console_call.ConsoleCall">
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl.console.console_call.</span></code><codeclass="sig-name descname"><spanclass="pre">ConsoleCall</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">function</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">collections.abc.Callable</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">args</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.console_call.ConsoleCall"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><codeclass="sig-name descname"><spanclass="pre">args</span></code><aclass="headerlink"href="#cpl.console.console_call.ConsoleCall.args"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><codeclass="sig-name descname"><spanclass="pre">function</span></code><aclass="headerlink"href="#cpl.console.console_call.ConsoleCall.function"title="Permalink to this definition">¶</a></dt>
<spanid="cpl-console-foreground-color-enum-module"></span><h2>cpl.console.foreground_color_enum module<aclass="headerlink"href="#module-cpl.console.foreground_color_enum"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl.console.foreground_color_enum.</span></code><codeclass="sig-name descname"><spanclass="pre">ForegroundColorEnum</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">value</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.foreground_color_enum.ForegroundColorEnum"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">blue</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'blue'</span></em><aclass="headerlink"href="#cpl.console.foreground_color_enum.ForegroundColorEnum.blue"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">cyan</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'cyan'</span></em><aclass="headerlink"href="#cpl.console.foreground_color_enum.ForegroundColorEnum.cyan"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">default</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'default'</span></em><aclass="headerlink"href="#cpl.console.foreground_color_enum.ForegroundColorEnum.default"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">green</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'green'</span></em><aclass="headerlink"href="#cpl.console.foreground_color_enum.ForegroundColorEnum.green"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">grey</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'grey'</span></em><aclass="headerlink"href="#cpl.console.foreground_color_enum.ForegroundColorEnum.grey"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">magenta</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'magenta'</span></em><aclass="headerlink"href="#cpl.console.foreground_color_enum.ForegroundColorEnum.magenta"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">red</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'red'</span></em><aclass="headerlink"href="#cpl.console.foreground_color_enum.ForegroundColorEnum.red"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">white</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'white'</span></em><aclass="headerlink"href="#cpl.console.foreground_color_enum.ForegroundColorEnum.white"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">yellow</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'yellow'</span></em><aclass="headerlink"href="#cpl.console.foreground_color_enum.ForegroundColorEnum.yellow"title="Permalink to this definition">¶</a></dt>
<spanid="cpl-console-spinner-thread-module"></span><h2>cpl.console.spinner_thread module<aclass="headerlink"href="#module-cpl.console.spinner_thread"title="Permalink to this headline">¶</a></h2>
<dlclass="py class">
<dtid="cpl.console.spinner_thread.SpinnerThread">
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl.console.spinner_thread.</span></code><codeclass="sig-name descname"><spanclass="pre">SpinnerThread</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">msg_len</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">int</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">foreground_color</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><aclass="reference internal"href="#cpl.console.foreground_color_enum.ForegroundColorEnum"title="cpl.console.foreground_color_enum.ForegroundColorEnum"><spanclass="pre">cpl.console.foreground_color_enum.ForegroundColorEnum</span></a></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">background_color</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><aclass="reference internal"href="#cpl.console.background_color_enum.BackgroundColorEnum"title="cpl.console.background_color_enum.BackgroundColorEnum"><spanclass="pre">cpl.console.background_color_enum.BackgroundColorEnum</span></a></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.spinner_thread.SpinnerThread"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">exit</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.spinner_thread.SpinnerThread.exit"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">run</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span>→<spanclass="pre">None</span><aclass="headerlink"href="#cpl.console.spinner_thread.SpinnerThread.run"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">stop_spinning</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.console.spinner_thread.SpinnerThread.stop_spinning"title="Permalink to this definition">¶</a></dt>