Support for terminal emulators with less colors #61
Labels
enhancement
New feature / Improvement suggestion or request
planned
Planned feature (should be removed as soon as implementation starts)
text
Related to the interface common to text-based render styles
Milestone
Requires #62
This will be implemented as render methods (and some style-specific parameters) common to all colored text-based render styles, defined by the
[Colored]TextImage
(not yet sure ifColoredTextImage
will be a thing) class.Progress:
Initial Idea
NB: These is mostly a raw dump of my thought process at the time I conceived the idea with updates once in a while, so might not be "neat".
[Colored]TextImage
:auto, direct, fbterm_256, xterm_256, ansi and no_color render methods for all text-based styles.
_AUTO_METHOD
is_supported(): if any(_is_supported(method) for method in _render_methods)
... [See Keep Notes]
Style Params:
Requires updating
_get_render_data()
:-1
because the color after black should be index 0round(x * 5 / 255)
r * 36 + g * 6 + b
16 + x
Known Issues:
Any suggestions are always welcome. 😃
The text was updated successfully, but these errors were encountered: