jwill / lanterna

Automatically exported from code.google.com/p/lanterna
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Support RGB colors #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As far as I can tell from the wiki, there are a limited set of constants to 
represent the different colors. It would be good if we could have access to 
full RGB colors (at least in consoles that support it). For consoles without 
support, either the colors gracefully degrade to the nearest color in the 
minimal set or it is up to the developer to detect the capabilities and adjust 
colors accordingly.

Original issue reported on code.google.com by m...@bjeanes.com on 19 Aug 2012 at 3:53

GoogleCodeExporter commented 9 years ago
I know certain terminals supports it, but I'm not sure if it's even possible to 
detect it? But, I suppose adding the functionality and then leaving it up to 
the developer what to do with it is something we can do.

Original comment by mab...@gmail.com on 19 Aug 2012 at 6:56

GoogleCodeExporter commented 9 years ago
This has now been added to 2.1.x and I've deployed a new snapshot to Sonatype. 
This change supports both indexed 8-bit colors 
(https://github.com/robertknight/konsole/blob/master/user-doc/README.moreColors)
 and 24-bit colors. Please give it a try!

Original comment by mab...@gmail.com on 1 Sep 2012 at 3:44