Summary
Added support for raw color values in the canvas and improved detection for Sixels capable terminals.
New stuff
- :pager: Added a function `chafa.get_device_attributes` that returns a list of the device attributes returned by the control sequence `\e[c` on xterm.
- :printer: The `TerminalCapabilities` class now has a printable representation and can be compared using `==` with two `TerminalCapabilites` being equal if both their `canvas_mode` and `pixel_mode` attributes match
- :art: Added `raw_bg_color` and `raw_fg_color` properties to `CanvasInspector`. These allow users to specify raw color values, (`0xRRGGBB` in truecolor mode or e.g. integer from `[0-255]` in `INDEXED_256` mode)
- :hammer: Building from source is now available again. You just have to make sure `glib-2.0` and `libchafa` are on your path.
Bugs squashed
- :bug: The `TermInfo.detect_capabilities()` funciton now more accurately detects Sixels capable terminals. (specifically it detects those that have a `4` in their device attributes emitted by `\e[c`)
- :bug: The `TermSeq`, `ColorSpace` and `ColorExtractor` enumerators can now be imported properly.
- :bug: Indexing the `Canvas` with negative x or y values is no longer broken.
**Full Changelog**: https://github.com/GuardKenzie/chafa.py/compare/v1.0.2...v1.1.0
If you are having trouble, head over to the [discussions](https://github.com/GuardKenzie/chafa.py/discussions) and if you find a bug, please open an [issue](https://github.com/GuardKenzie/chafa.py/issues).
Have fun
:heart: