Releases: jquast/blessed
Releases · jquast/blessed
First release of blessings fork
- Forked github project erikrose/blessings to jquast/blessed, this
project was previously known as blessings version 1.6 and prior. - introduced: context manager
cbreak()
andraw()
, which is equivalent
totty.setcbreak()
andtty.setraw()
, allowing input from stdin to be
read as each key is pressed. - introduced:
inkey()
andkbhit()
, which will return 1 or more
characters as a unicode sequence, with attributes.code
and.name
non-None when a multibyte sequence is received, allowing arrow keys and
such to be detected. Optional valuetimeout
allows timed polling or
blocking. - introduced:
center()
,rjust()
,ljust()
,strip()
, and
strip_seqs()
methods. Allows text containing sequences to be aligned
to screen, orwidth
specified. - introduced:
wrap()
method. allows text containing sequences to be
word-wrapped without breaking mid-sequence and honoring their printable
width. - bugfix: cannot call
setupterm()
more than once per process -- issue a
warning about what terminal kind subsequent calls will use. - bugfix: resolved issue where
number_of_colors
fails when
does_styling
isFalse
. resolves issue where piping tests
output would fail. - bugfix: warn and set
does_styling
toFalse
when TERM is unknown. - bugfix: allow unsupported terminal capabilities to be callable just as
supported capabilities, so that the return value ofterm.color(n)
may
be called on terminals without color capabilities. - bugfix: for terminals without underline, such as vt220,
term.underline('text')
. would beu'text' + term.normal
, now is
onlyu'text'
. - enhancement: some attributes are now properties, raise exceptions when
assigned. - enhancement: pypy is now a supported python platform implementation.
- enhancement: removed pokemon
curses.error
exceptions. - enhancement: converted nose tests to pytest, merged travis and tox.
- enhancement: pytest fixtures, paired with a new
@as_subprocess
decorator
are used to test a multitude of terminal types. - enhancement: test accessories
@as_subprocess
resolves various issues
with different terminal types that previously went untested. - deprecation: python2.5 is no longer supported (as tox does not supported).