aboutsummaryrefslogtreecommitdiff
path: root/src/utils/consts.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-30 16:30:47 +0000
committerGravatar jesopo2018-11-30 16:30:56 +0000
commit4dfb2ffeaa6a0755d81937a2092c9b1cdf1df5e1 (patch)
tree51960bcc483ba9c63597190561f6beaaf03e80e4 /src/utils/consts.py
parent'find_*_setting' functions don't exist anymore! (diff)
signature
Support ANSI underline
Diffstat (limited to 'src/utils/consts.py')
-rw-r--r--src/utils/consts.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/utils/consts.py b/src/utils/consts.py
index 221c327b..cfb09243 100644
--- a/src/utils/consts.py
+++ b/src/utils/consts.py
@@ -43,9 +43,11 @@ INVERT = "\x16"
COLOR = "\x03"
RESET = "\x0F"
-ANSI_FORMAT = "\033[%sm"
-ANSI_RESET = "\033[0m"
+ANSI_FORMAT = "\033[%sm"
+ANSI_RESET = "\033[0m"
ANSI_FOREGROUND_RESET = "\033[39m"
ANSI_BACKGROUND_RESET = "\033[49m"
-ANSI_BOLD = "\033[1m"
-ANSI_BOLD_RESET = "\033[22m"
+ANSI_BOLD = "\033[1m"
+ANSI_BOLD_RESET = "\033[22m"
+ANSI_UNDERLINE = "\033[4m"
+ANSI_UNDERLINE_RESET = "\033[24m"