Releases: getcuia/cusser
Releases · getcuia/cusser
v0.1.1
This is a patch release of cusser, the lightweight curses wrapper that understands ANSI escape code sequences.
This mainly solves a bug where some attributes weren't reset by \033[0m
(or \033[m
).
Update it with
$ pip install -U cusser
Changes
- Corrected behavior of
Attribute.NORMAL
(e.g.,\033[0m
), which now resets all other attributes (26ff507)
cusser is released under the MIT open-source license.
v0.1.0
This is the first release of cusser 🎉, a lightweight curses wrapper that understands ANSI escape code sequences.
cusser wraps a curses standard window object and intercepts ANSI escape code sequences with the help of stransi.
Install it with
$ pip install cusser
Notable features
- Never worry about initializing colors or color pairs: they are managed for you (36cf2b6)
- Drop-in wrapper for the standard curses module API (34ccbdf)
- Wide range of recognized ANSI Sequences (thanks for stransi ✨, see links for details):
- 🕺 Styling attributes (bold, italic, etc., 68f114d)
- 🦩 Colors (no need to initialize anything, 36cf2b6)
- 🏃 Cursor movement (both relative and absolute movements, 8c932e8)
- 🛁 Basic screen and line clearing (ada4a0e, clearing before the cursor is not yet implemented, #6)
- Only one dependency: stransi
- Python 3.8+
cusser is released under the MIT open-source license.