RELEASE Version 1.1.0: Raw colors #17
GuardKenzie
announced in
Announcements
Replies: 1 comment 9 replies
-
|
I thought sixel was always max 256-color... |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Added support for raw color values in the canvas and improved detection for Sixels capable terminals.
New stuff
chafa.get_device_attributesthat returns a list of the device attributes returned by the control sequence\e[con xterm.TerminalCapabilitiesclass now has a printable representation and can be compared using==with twoTerminalCapabilitesbeing equal if both theircanvas_modeandpixel_modeattributes matchraw_bg_colorandraw_fg_colorproperties toCanvasInspector. These allow users to specify raw color values, (0xRRGGBBin truecolor mode or e.g. integer from[0-255]inINDEXED_256mode)glib-2.0andlibchafaare on your path.Bugs squashed
TermInfo.detect_capabilities()funciton now more accurately detects Sixels capable terminals. (specifically it detects those that have a4in their device attributes emitted by\e[c)TermSeq,ColorSpaceandColorExtractorenumerators can now be imported properly.Canvaswith negative x or y values is no longer broken.Full Changelog: v1.0.2...v1.1.0
If you are having trouble, head over to the discussions and if you find a bug, please open an issue.
Have fun
❤️
This discussion was created from the release Version 1.1.0.
Beta Was this translation helpful? Give feedback.
All reactions