End all 'say' messages with a 'normal' ansi character to prevent bleedage. Also, added the beginnings of an IMC2 ansi parser.
This commit is contained in:
parent
0ad8c88c22
commit
9abde7b60f
5 changed files with 83 additions and 4 deletions
|
|
@ -106,8 +106,7 @@ class MuxANSIParser(BaseParser):
|
|||
(r'%cW', ANSITable.ansi["back_white"]),
|
||||
]
|
||||
|
||||
ANSI_PARSER = MuxANSIParser()
|
||||
def parse_ansi(string, strip_ansi=False, strip_formatting=False, parser=ANSI_PARSER):
|
||||
def parse_ansi(string, strip_ansi=False, strip_formatting=False, parser=MuxANSIParser()):
|
||||
"""
|
||||
Parses a string, subbing color codes as needed.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue