Version 1.1.0
Summary
Added support for raw color values in the canvas and improved detection for Sixels capable terminals.
New stuff
- 📟 Added a function
chafa.get_device_attributes
that returns a list of the device attributes returned by the control sequence\e[c
on xterm. - 🖨️ The
TerminalCapabilities
class now has a printable representation and can be compared using==
with twoTerminalCapabilites
being equal if both theircanvas_mode
andpixel_mode
attributes match - 🎨 Added
raw_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) - 🔨 Building from source is now available again. You just have to make sure
glib-2.0
andlibchafa
are on your path.
Bugs squashed
- 🐛 The
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
) - 🐛 The
TermSeq
,ColorSpace
andColorExtractor
enumerators can now be imported properly. - 🐛 Indexing the
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
❤️