cslarsen/jp2a

Truecolor support

Open

#10 opened on Aug 16, 2019

View on GitHub
 (2 comments) (0 reactions) (0 assignees)HTML (63 forks)batch import
help wanted

Repository metrics

Stars
 (552 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I noticed that the tool generates the whole color palette when generating HTML but seems restricted to 16(?) colors when generating ANSI codes.

Modern terminals also support truecolor. It would be nice, if jp2a could generate text for them or even better if there is a flag to control the amount of colors to output (also for HTML). Here I found a good summary of truecolor support for terminals.

Contributor guide