Blessed

Latest version: v1.20.0

Safety actively analyzes 630094 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

1.14

* bugfix: :meth:`~.Terminal.wrap` misbehaved for text containing newlines,
:ghissue:`74`.
* bugfix: TypeError when using ``PYTHONOPTIMIZE=2`` environment variable,
:ghissue:`84`.
* bugfix: define ``blessed.__version__`` value,
:ghissue:`92`.
* bugfix: detect sequences ``\x1b[0K`` and ``\x1b2K``,
:ghissue:`95`.

1.13

* enhancement: :meth:`~.Terminal.split_seqs` introduced, and 4x cost
reduction in related sequence-aware functions, :ghissue:`29`.
* deprecated: ``blessed.sequences.measure_length`` function superseded by
:func:`~.iter_parse` if necessary.
* deprecated: warnings about "binary-packed capabilities" are no longer
emitted on strange terminal types, making best effort.

1.12

* enhancement: :meth:`~.Terminal.get_location` returns the ``(row, col)``
position of the cursor at the time of call for attached terminal.
* enhancement: a keyboard now detected as *stdin* when
:paramref:`~.Terminal.__init__.stream` is :obj:`sys.stderr`.

1.11

* enhancement: :meth:`~.Terminal.inkey` can return more quickly for
combinations such as ``Alt + Z`` when ``MetaSendsEscape`` is enabled,
:ghissue:`30`.
* enhancement: :class:`~.FormattingString` may now be nested, such as
``t.red('red', t.underline('rum'))``, :ghissue:`61`

1.10

* workaround: provide ``sc`` and ``rc`` for Terminals of ``kind='ansi'``,
repairing :meth:`~.Terminal.location` :ghissue:`44`.
* bugfix: length of simple SGR reset sequence ``\x1b[m`` was not correctly
determined on all terminal types, :ghissue:`45`.
* deprecated: ``_intr_continue`` arguments introduced in 1.8 are now marked
deprecated in 1.10: beginning with python 3.5, the default behavior is as
though this argument is always True, `PEP-475
<https://www.python.org/dev/peps/pep-0475/>`_, blessed does the same.

1.9

* enhancement: :paramref:`~.Terminal.wrap.break_long_words` now supported by
:meth:`Terminal.wrap`
* Ignore :class:`curses.error` message ``'tparm() returned NULL'``:
this occurs on win32 or other platforms using a limited curses
implementation, such as PDCurses_, where :func:`curses.tparm` is
not implemented, or no terminal capability database is available.
* Context manager :meth:`~.keypad` emits sequences that enable
"application keys" such as the diagonal keys on the numpad.
This is equivalent to :meth:`curses.window.keypad`.
* bugfix: translate keypad application keys correctly.
* enhancement: no longer depend on the '2to3' tool for python 3 support.
* enhancement: allow ``civis`` and ``cnorm`` (*hide_cursor*, *normal_hide*)
to work with terminal-type *ansi* by emulating support by proxy.
* enhancement: new public attribute: :attr:`~.kind`: the very same as given
:paramref:`Terminal.__init__.kind` keyword argument. Or, when not given,
determined by and equivalent to the ``TERM`` Environment variable.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.