add true color parsing to ANSIString
This commit is contained in:
parent
45a1cb80e1
commit
71fee0a3ea
1 changed files with 1 additions and 1 deletions
|
|
@ -822,7 +822,7 @@ class ANSIString(str, metaclass=ANSIMeta):
|
||||||
if not decoded:
|
if not decoded:
|
||||||
# Completely new ANSI String
|
# Completely new ANSI String
|
||||||
clean_string = parser.parse_ansi(string, strip_ansi=True, mxp=MXP_ENABLED)
|
clean_string = parser.parse_ansi(string, strip_ansi=True, mxp=MXP_ENABLED)
|
||||||
string = parser.parse_ansi(string, xterm256=True, mxp=MXP_ENABLED)
|
string = parser.parse_ansi(string, xterm256=True, mxp=MXP_ENABLED, truecolor=True)
|
||||||
elif clean_string is not None:
|
elif clean_string is not None:
|
||||||
# We have an explicit clean string.
|
# We have an explicit clean string.
|
||||||
pass
|
pass
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue