This is the first release of **cusser** 🎉, a lightweight [curses](https://docs.python.org/3/library/curses.html) wrapper that understands [ANSI escape code sequences](https://en.wikipedia.org/wiki/ANSI_escape_code).
cusser wraps a curses standard window object and intercepts ANSI escape code sequences with the help of [stransi](https://github.com/getcuia/stransi).
Install it with
console
$ pip install cusser
Notable features
- Never worry about initializing colors or color pairs: they are managed for you (36cf2b688b1e5f23b2190747574ac935089a5a44)
- Drop-in wrapper for the [standard curses module](https://docs.python.org/3/library/curses.html) API (34ccbdf05d04f103a401906e64520da1ba26e561)
- Wide range of [recognized ANSI Sequences](https://github.com/getcuia/stransi/blob/main/FEATURES.md#recognized-ansi-sequences) (thanks for stransi ✨, see links for details):
- 🕺 [Styling attributes](https://github.com/getcuia/stransi/blob/main/FEATURES.md#styling-attributes) (**bold**, _italic_, etc., 68f114dc093ed21cd4a2a95c6447059b0c9a6967)
- 🦩 [Colors](https://github.com/getcuia/stransi/blob/main/FEATURES.md#colors) (no need to initialize anything, 36cf2b688b1e5f23b2190747574ac935089a5a44)
- 🏃 [Cursor movement](https://github.com/getcuia/stransi/blob/main/FEATURES.md#csi-control-sequence-introducer-sequences) (both **relative** and **absolute** movements, 8c932e8920e70dee4c4667e4b833eeaf1eefe515)
- 🛁 [Basic screen and line clearing](https://github.com/getcuia/stransi/blob/main/FEATURES.md#csi-control-sequence-introducer-sequences) (ada4a0e4763f6ce608a654db65099ddc9c85ae54, **clearing _before_ the cursor is not yet implemented**, 6)
- Only one dependency: [stransi](https://github.com/getcuia/stransi)
- Python 3.8+
cusser is [released under the MIT open-source license](https://github.com/getcuia/cusser/blob/main/LICENSE).