diff --git a/nomadnet/ui/textui/MicronParser.py b/nomadnet/ui/textui/MicronParser.py index 7132c2b..c209b0c 100644 --- a/nomadnet/ui/textui/MicronParser.py +++ b/nomadnet/ui/textui/MicronParser.py @@ -467,7 +467,7 @@ def make_output(state, line, url_delegate, pre_escape=False): state["formatting"]["italic"] ^= True elif c == "F": if len(line) >= i+4: - if line[i+1] == "T": # truecolor support (`FT040506) + if line[i+1] == "T": # truecolor support (`FTXXXXXX) color = line[i+2:i+8] skip = 7 else: @@ -478,7 +478,7 @@ def make_output(state, line, url_delegate, pre_escape=False): state["fg_color"] = state["default_fg"] elif c == "B": if len(line) >= i+4: - if line[i+1] == "T": # truecolor support (`BT040506) + if line[i+1] == "T": # truecolor support (`BTXXXXXX) color = line[i+2:i+8] skip = 7 else: