test commit

This commit is contained in:
Some-O-ne 2025-09-24 14:23:19 +03:00
parent 606461a650
commit b20190d3d5

View file

@ -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: