Summary
Added bindings for most of the new API introduced in Chafa version 1.14
New stuff
- 🖼️ Added the
Frame
,Image
andPlacement
classes which allow you to control how the image is placed on the canvas. Also added theCanvas.placement
property to assign a placement to the canvas. - 🔢 Added the
Tuck
andAlign
enumerators to be used withPlacement
- 🎛️ Added the
TermInfo.emit()
method which allows you to emit terminal control sequences to do cool stuff like move the cursor around and make animations:
- 🏗️ Restructured the
src/chafa
directory and broke the mainchafa.py
file into multiple different Python files where appropriate. - 🔨 Moved MacOS arm builds to GitHub Actions and changed the cibuildwheel Linux image to
manylinux_2_28
What's missing
There are no bindings yet for chafa_canvas_print_rows
and chafa_canvas_print_rows_strv
Full Changelog: v1.1.0...v1.2.0
If you are having trouble, head over to the discussions and if you find a bug, please open an issue.
Ps:
Sorry this release took such a long time, and for my inactivity. I have been busy with graduating with a bachelor's in mathematics, moving countries, starting my master's program, recovering from surgery and just general life stuff. Hopefully the next release will not take so long, hehe.
Have fun
❤️