Skip to content

Releases: jquast/blessed

python3 native compatibility and cursor show/hide for 'ansi' terminals

01 Sep 23:02
Compare
Choose a tag to compare
  • 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.

keypad support

24 Aug 08:56
Compare
Choose a tag to compare
  • workaround: ignore 'tparm() returned NULL', this occurs on win32 platforms using PDCurses_ where tparm() is not implemented.
  • enhancement: new context manager keypad(), which enables keypad application keys such as the diagonal keys on the numpad.
  • bugfix: translate keypad application keys correctly to their diagonal movement directions KEY_LL, KEY_LR, KEY_UL, KEY_LR, and KEY_CENTER.

better ecma-48 code support

18 May 05:38
Compare
Choose a tag to compare
  • enhancement: better support for detecting the length or sequences of
    externally-generated ecma-48 codes when using xterm or aixterm.

add wcwidth internally to length and rstrip/lstrip() convenience functions

18 May 03:43
Compare
Choose a tag to compare
  • enhancement: add rstrip() and lstrip(), strips both sequences
    and trailing or leading whitespace, respectively.
  • enhancement: include wcwidth_ library support for length(), the
    printable width of many kinds of CJK (Chinese, Japanese, Korean) ideographs
    are more correctly determined.

screen(1) may now use move_x() and move_y()

28 Apr 05:37
Compare
Choose a tag to compare
1.8.5

Merge branch 'master' of https://github.com/jquast/blessed

Interruptable inkey() and non-tty fixes

05 Apr 20:16
Compare
Choose a tag to compare
  • enhancement: allow inkey() and kbhit() to return early when
    interrupted by signal by passing argument _intr_continue=False.
  • bugfix: allow term.inkey() and related to be called without a keyboard.

bugfix of picklability

02 Apr 01:01
Compare
Choose a tag to compare

this minor patch release resolves issues with pickling ParameterizingString and FormattingString

bugfix of default inkey() arguments

26 Mar 15:48
Compare
Choose a tag to compare

minor bugfix regarding _keyboard_buf class attribute

25 Mar 07:13
Compare
Choose a tag to compare

class attribute _keyboard_buf should always be available, even in custom derived classes that overload getch().

locale encoding fix

25 Mar 07:05
Compare
Choose a tag to compare
  • enhancement: export keyboard-read function as public method getch(), so
    that it may be overridden by custom terminal implementers (x/84 telnet bbs)
  • bugfix: if locale.getpreferredencoding() returns empty string or an
    encoding that is not a valid codec for codecs.getincrementaldecoder,
    fallback to ascii and emit a warning.