Skip to content

Version 1.1.0

Compare
Choose a tag to compare
@GuardKenzie GuardKenzie released this 11 Feb 01:57
· 171 commits to main since this release
1dfc763

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 two TerminalCapabilites being equal if both their canvas_mode and pixel_mode attributes match
  • 🎨 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)
  • 🔨 Building from source is now available again. You just have to make sure glib-2.0 and libchafa are on your path.

Bugs squashed

  • 🐛 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)
  • 🐛 The TermSeq, ColorSpace and ColorExtractor 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
❤️