Jinxed is an implementation of a subset of the Python curses library, providing pure Python implementations of terminfo functions such as `tigetstr()` and `tparm()`. It also offers convenience methods for working with Windows terminals. Initially developed to support the Blessed library on Windows, Jinxed is designed to work across all platforms.
pip install jinxedVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to use `jinxed` to retrieve and apply terminfo capabilities like moving the cursor. It fetches terminal capabilities using `tigetstr` and then uses `tparm` to instantiate parameterized strings, which are then written to the console.
Review `tparm` calls and ensure they do not rely on state persistence across invocations. Parameters should be explicitly passed for each call.
Adjust code to handle an empty string return for `b'%p1%s'` with no arguments instead of Null, if this specific pattern was used.
Upgrade to Python 3.5 or newer.
If your Windows application requires `ENABLE_VIRTUAL_TERMINAL_INPUT` to be explicitly set, ensure it is configured independently or verify its state before relying on Jinxed to activate it implicitly.
Test existing applications with `jinxed` 1.4.0 to ensure consistent behavior with the faster event loop. Consider leveraging the new mouse and resize event capabilities.
No dependency data recorded yet.