Skip to content
Snippets Groups Projects
Commit cfe2a7ba authored by David Trattnig's avatar David Trattnig
Browse files

Moved terminal colors to util.

parent 4473d2b1
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,8 @@ __author__ = 'David Trattnig <david.trattnig@subsquare.at>'
import datetime
import time
from libraries.enum.auraenumerations import Channel, ChannelType
from enum import Enum
from modules.base.enum import Channel, ChannelType
......@@ -122,4 +123,27 @@ class SimpleUtil:
result = ""
for c in text:
result += c + '\u0336'
return result
\ No newline at end of file
return result
class TerminalColors(Enum):
"""
Colors for formatting terminal output.
"""
HEADER = "\033[95m"
RED = "\033[31m"
GREEN = "\033[32m"
ORANGE = "\033[33m"
BLUE = "\033[34m"
PINK = "\033[35m"
CYAN = "\033[36m"
WARNING = "\033[31m"
FAIL = "\033[41m"
BOLD = "\033[1m"
UNDERLINE = "\033[4m"
ENDC = "\033[0m"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment