Skip to content

Latest commit

 

History

History
325 lines (301 loc) · 17.7 KB

history.rst

File metadata and controls

325 lines (301 loc) · 17.7 KB
.. py:currentmodule:: blessed.terminal

Version History

1.20
1.19
1.18
1.17
1.16
1.15
  • enhancement: disable timing integration tests for keyboard routines.
  • enhancement: Support python 3.7. :ghpull:`102`.
  • enhancement: Various fixes to test automation :ghpull:`108`
1.14
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
1.11
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, blessed does the same.
1.9
1.8
  • enhancement: export keyboard-read function as public method getch(), so that it may be overridden by custom terminal implementers.
  • enhancement: allow :meth:`~.inkey` and :meth:`~.kbhit` to return early when interrupted by signal by passing argument _intr_continue=False.
  • enhancement: allow hpa and vpa (move_x, move_y) to work on tmux(1) or screen(1) by emulating support by proxy.
  • enhancement: add :meth:`~.Terminal.rstrip` and :meth:`~.Terminal.lstrip`, strips both sequences and trailing or leading whitespace, respectively.
  • enhancement: include wcwidth library support for :meth:`~.Terminal.length`: the printable width of many kinds of CJK (Chinese, Japanese, Korean) ideographs and various combining characters may now be determined.
  • enhancement: better support for detecting the length or sequences of externally-generated ecma-48 codes when using xterm or aixterm.
  • bugfix: when :func:`locale.getpreferredencoding` returns empty string or an encoding that is not valid for codecs.getincrementaldecoder, fallback to ASCII and emit a warning.
  • bugfix: ensure :class:`~.FormattingString` and :class:`~.ParameterizingString` may be pickled.
  • bugfix: allow ~.inkey and related to be called without a keyboard.
  • change: term.keyboard_fd is set None if stream or sys.stdout is not a tty, making term.inkey(), term.cbreak(), term.raw(), no-op.
  • bugfix: \x1bOH (KEY_HOME) was incorrectly mapped as KEY_LEFT.
1.7
1.6
1.5.1
  • Clean up fabfile, removing the redundant test command.
  • Add Travis support.
  • Make python setup.py test work without spurious errors on 2.6.
  • Work around a tox parsing bug in its config file.
  • Make context managers clean up after themselves even if there's an exception (Vitja Makarov #29 <erikrose#29>).
  • Parameterizing a capability no longer crashes when there is no tty (<Vitja Makarov #31 <erikrose#31>)
1.5
1.4
  • Add syntactic sugar for cursor visibility control and single-space-movement capabilities.
  • Endorse the :meth:`~.location` context manager for restoring cursor position after a series of manual movements.
  • Fix a bug in which :meth:`~.location` that wouldn't do anything when passed zeros.
  • Allow tests to be run with python setup.py test.
1.3
1.2
  • Added support for Python 3! We need 3.2.3 or greater, because the curses library couldn't decide whether to accept strs or bytes before that (https://bugs.python.org/issue10570).
  • Everything that comes out of the library is now unicode. This lets us support Python 3 without making a mess of the code, and Python 2 should continue to work unless you were testing types (and badly). Please file a bug if this causes trouble for you.
  • Changed to the MIT License for better world domination.
  • Added Sphinx docs.
1.1
  • Added nicely named attributes for colors.
  • Introduced compound formatting.
  • Added wrapper behavior for styling and colors.
  • Let you force capabilities to be non-empty, even if the output stream is not a terminal.
  • Added :attr:`~.is_a_tty` to determine whether the output stream is a terminal.
  • Sugared the remaining interesting string capabilities.
  • Allow :meth:`~.location` to operate on just an x or y coordinate.
1.0