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
-
Summary
Added support for raw color values in the canvas and improved detection for Sixels capable terminals.
New stuff
chafa.get_device_attributes
that returns a list of the device attributes returned by the control sequence\e[c
on xterm.TerminalCapabilities
class now has a printable representation and can be compared using==
with twoTerminalCapabilites
being equal if both theircanvas_mode
andpixel_mode
attributes matchraw_bg_color
andraw_fg_color
properties toCanvasInspector
. These allow users to specify raw color values, (0xRRGGBB
in truecolor mode or e.g. integer from[0-255]
inINDEXED_256
mode)glib-2.0
andlibchafa
are on your path.Bugs squashed
TermInfo.detect_capabilities()
funciton now more accurately detects Sixels capable terminals. (specifically it detects those that have a4
in their device attributes emitted by\e[c
)TermSeq
,ColorSpace
andColorExtractor
enumerators can now be imported properly.Canvas
with 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