Improved console

This commit is contained in:
2020-12-15 16:53:15 +01:00
parent 7473b8deab
commit 78c4b6ef09
16 changed files with 47 additions and 38 deletions

View File

@@ -0,0 +1,4 @@
# imports:
from .background_color import BackgroundColor
from .foreground_color import ForegroundColor

View File

@@ -0,0 +1,14 @@
from enum import Enum
class BackgroundColor(Enum):
default = 'on_default'
grey = 'on_grey'
red = 'on_red'
green = 'on_green'
yellow = 'on_yellow'
blue = 'on_blue'
magenta = 'on_magenta'
cyan = 'on_cyan'
white = 'on_white'

View File

@@ -0,0 +1,14 @@
from enum import Enum
class ForegroundColor(Enum):
default = 'default'
grey = 'grey'
red = 'red'
green = 'green'
yellow = 'yellow'
blue = 'blue'
magenta = 'magenta'
cyan = 'cyan'
white = 'white'