forked from solderpunk/AV-98
Nicer prompts.
This commit is contained in:
parent
3207f8b382
commit
6cb9f6a65e
4
av98.py
4
av98.py
|
@ -197,8 +197,8 @@ class GeminiClient(cmd.Cmd):
|
|||
|
||||
def __init__(self, restricted=False):
|
||||
cmd.Cmd.__init__(self)
|
||||
self.no_cert_prompt = "\x1b[38;5;202m" + "AV-98" + "\x1b[38;5;255m" + "> " + "\x1b[0m"
|
||||
self.cert_prompt = "\x1b[38;5;202m" + "AV-98 (active cert!)" + "\x1b[38;5;255m" + "> " + "\x1b[0m"
|
||||
self.no_cert_prompt = "\x1b[38;5;76m" + "AV-98" + "\x1b[38;5;255m" + "> " + "\x1b[0m"
|
||||
self.cert_prompt = "\x1b[38;5;202m" + "AV-98" + "\x1b[38;5;255m" + "+cert> " + "\x1b[0m"
|
||||
self.prompt = self.no_cert_prompt
|
||||
self.gi = None
|
||||
self.history = []
|
||||
|
|
Loading…
Reference in New Issue