You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it is in general hard to ask the terminal if it supports true color. I thought a bit about if a 24 bit -> 256 color converter makes sense in this package. I think ImageInTerminal.jl has one.
In Crayons.test_256_colors(shownumbers::Bool=true), shownumbers is not a keyword argument, it is just a label of the argument so that it explains what it does. Maybe it's confusing.
I have a package where I show numbers with a red->green color gradient. Is there a function that returns whether 24-bit color is supported?
Alternatively, it would be neat if I could write
Crayon(foreground=nearest_ansi_color(121,0,40))
BTW, the README needs to be updated,
Crayons.test_256_colors(shownumbers::Bool=true)
doesn't support keyword arguments.The text was updated successfully, but these errors were encountered: