mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-12-18 01:44:15 -05:00
test commit
This commit is contained in:
parent
606461a650
commit
b20190d3d5
1 changed files with 2 additions and 2 deletions
|
|
@ -467,7 +467,7 @@ def make_output(state, line, url_delegate, pre_escape=False):
|
||||||
state["formatting"]["italic"] ^= True
|
state["formatting"]["italic"] ^= True
|
||||||
elif c == "F":
|
elif c == "F":
|
||||||
if len(line) >= i+4:
|
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]
|
color = line[i+2:i+8]
|
||||||
skip = 7
|
skip = 7
|
||||||
else:
|
else:
|
||||||
|
|
@ -478,7 +478,7 @@ def make_output(state, line, url_delegate, pre_escape=False):
|
||||||
state["fg_color"] = state["default_fg"]
|
state["fg_color"] = state["default_fg"]
|
||||||
elif c == "B":
|
elif c == "B":
|
||||||
if len(line) >= i+4:
|
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]
|
color = line[i+2:i+8]
|
||||||
skip = 7
|
skip = 7
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue