diff --git a/src/utils/ansi.py b/src/utils/ansi.py index 511f6d6d9..b3bde1265 100644 --- a/src/utils/ansi.py +++ b/src/utils/ansi.py @@ -62,7 +62,8 @@ class ANSIParser(object): to ANSI command sequences We also allow to escape colour codes - by prepending with a \. + by prepending with a \ for mux-style and xterm256, + an extra { for Merc-style codes """ def __init__(self): @@ -71,29 +72,29 @@ class ANSIParser(object): # MUX-style mappings %cr %cn etc self.mux_ansi_map = [ - (r'(?