inLimbo
TUI Music Player that keeps you in Limbo.
 
Loading...
Searching...
No Matches
ColorManager Class Reference

Provides utilities for managing console colors. More...

#include <arg-handler.hpp>

Static Public Member Functions

static auto getColor (ConsoleColor color) -> std::string_view
 Retrieves the ANSI color code for a given ConsoleColor.
 

Detailed Description

Provides utilities for managing console colors.

The ColorManager class contains methods to retrieve ANSI color codes for use in console output.

Member Function Documentation

◆ getColor()

static auto ColorManager::getColor ( ConsoleColor color) -> std::string_view
inlinestatic

Retrieves the ANSI color code for a given ConsoleColor.

Parameters
colorThe ConsoleColor enum value.
Returns
A string view representing the ANSI color code.

The documentation for this class was generated from the following file: