Implementing support for, e.g., 256COLOR would require roughly:
adding a tcell-based styling (this might improve performance as well):
the current styling used stores colors internally and converts to a tcell style every time one is needed. This new styling would store tcell-colors (or a tcell-style).
adding flexibility to color parsing:
if the string contains a non-html-ish content, use it as a 256-color-code and construct the corresponding tcell-color from it, to construct the tcell-based styling.
Implementing support for, e.g.,
256COLOR
would require roughly:the current styling used stores colors internally and converts to a tcell style every time one is needed. This new styling would store tcell-colors (or a tcell-style).
if the string contains a non-html-ish content, use it as a 256-color-code and construct the corresponding tcell-color from it, to construct the tcell-based styling.