diff options
Diffstat (limited to 'src/utils/consts.py')
| -rw-r--r-- | src/utils/consts.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/utils/consts.py b/src/utils/consts.py index 7c57cd15..221c327b 100644 --- a/src/utils/consts.py +++ b/src/utils/consts.py @@ -8,6 +8,8 @@ class IRCColor(object): self.irc = irc self.ansi = ansi self.color_bold = color_bold + def ansi_background(self): + return self.ansi+10 COLOR_NAMES = {} COLOR_CODES = {} @@ -43,6 +45,7 @@ RESET = "\x0F" ANSI_FORMAT = "\033[%sm" ANSI_RESET = "\033[0m" -ANSI_COLOR_RESET = "\033[39m" +ANSI_FOREGROUND_RESET = "\033[39m" +ANSI_BACKGROUND_RESET = "\033[49m" ANSI_BOLD = "\033[1m" ANSI_BOLD_RESET = "\033[22m" |
