Update and rename sign_vars.py to message_prefixes.py

This commit is contained in:
Richard Mwewa
2022-11-25 01:59:04 +02:00
committed by GitHub
parent 6e83bcf367
commit 94c1e0a737

View File

@@ -1,11 +1,11 @@
from octosuite.colors import red, white, green, reset
"""
SignVar *Even here, I couldn't think of a good name.* The Attributes class holds the signs/symbols that show what
MessagePrefix *Even here, I couldn't think of a good name.* The Attributes class holds the signs/symbols that show what
a notification in OctoSuite might be all about. This might not be very important or necessary in some cases,
but I think it's better to know the severity of the notifications you get in a program.
"""
class SignVar:
class MessagePrefix:
prompt = f"{white}[{green} ? {white}]{reset}"
warning = f"{white}[{red} ! {white}]{reset}"
error = f"{white}[{red} x {white}]{reset}"