Skip to content

Releases: jquast/blessed

1.17.7: Introduced `formatter()`

07 Jun 18:51
f9039a6
Compare
Choose a tag to compare
  • Introduced: formatter() which returns callable formatters for valid text formatters such as ‘red’ or ‘bold_on_red’, returning a NullCallableString if passed an invalid text formatter.

less turbulence for unspported input encodings

25 May 02:19
37260bb
Compare
Choose a tag to compare

bugfix: Use UTF-8 for keyboard if input encoding cannot be determined.

because gentoo

26 Apr 17:26
Compare
Choose a tag to compare
although I used gentoo from 2001-2003, I still don't understand it

1.17.4: Performance improvement

23 Mar 22:08
Compare
Choose a tag to compare
  • optimize length() PR #159

1.17.3: pixel_width and height support, minor bug and docfixes

20 Mar 07:52
Compare
Choose a tag to compare
  • add pixel_height and pixel_width, for libsixel support or general curiosity, it actually works on most of the terminals I tested! This wasn't the case several years ago, closes #155
  • bugfix "pickleability" of FormatOtherString, by implementing __getnewargs__, with tests.
  • docfix some confusion about (y, x), (row, column), etc. There were some backwards things, and it's pretty annoying that get_location() doesn't match location(), we document why -- to retain API compatibility with blessings!
  • rewrite the messages of our TypeError's, hopefully these are easier to understand.

1.17.2: hyperlink support and minor bug & docfix release

03 Feb 19:26
eb4c333
Compare
Choose a tag to compare
Do not test hyperlink sequences on windows / where does_styling is Fa…

…lse (#148)

This test failure indicates to me that windows reads `does_styling` as False in travis, so no URL is emitted, and that's ok for now, since Windows 10 doesn't yet support hyperlinks, https://github.com/microsoft/terminal/issues/204

When it does, I think there is nothing for us to do, I think it works as-is before and after.

1.17.1: Documentation and minor bugfix release

02 Feb 01:36
Compare
Choose a tag to compare
  • Documentation overhaul, to include plenty of examples and animated screenshots.
  • Includes small fix to #126, #138, otherwise a lot of test harness and coverage changes.

1.17.0: 24-bit color support

18 Jan 02:35
8554692
Compare
Choose a tag to compare
  • introduced: 24-bit color support, detected by term.number_of_colors == 1 << 24, and 24-bit
    color foreground method color_rgb and background method
    on_color_rgb, as well as 676 common X11 color attribute names are now
    possible, such as term.aquamarine_on_wheat, #60.
  • introduced: term.move_xy, recommended over built-in move capability, as the return
    positional arguments, (x, y) match the return value of get_location,
    and all other common graphics library calls, #65.
    values over the bterm.move.
  • introduced: move_up`, move_down, move_left, move_rightwhich are strings that move the cursor one cell in the respective direction, are now also callables for moving *n* cells to the given direction, such asterm.move_right(9)``, .
  • bugfix: prevent error condition, ValueError: underlying buffer has been detached in rare
    conditions where sys.stdout has been detached in test frameworks, #126.
  • bugfix: off-by-one error in :meth:get_location, now accounts for %i in
    cursor_report, #94.
  • bugfix split_seqs and related functions failed to match when the color index
    was greater than 15, #101.
  • bugfix: Context Managers, fullscreen, hidden_cursor, and
    keypad now flush the stream after writing their sequences.
  • bugfix: chr(127), \x7f has changed from keycode term.DELETE to the more common
    match, term.BACKSPACE, #115 by @jwezel.
  • deprecated: the direct curses move() capability is no longer recommended, suggest to use
    move_xy(), which matches the return value of .get_location.
  • deprecated: superscript, subscript, shadow, and dim are no longer "compoundable"
    with colors, such as in phrase Terminal.blue_subscript('a'). These attributes are not
    typically supported, anyway. Use Unicode text or 256 or 24-bit color codes instead.
  • deprecated: additional key names, such as KEY_TAB, are no longer "injected" into the curses
    module namespace.
  • deprecated: curses.setupterm is now called with os.devnull as the file descriptor, let us know if this causes any issues! :ghissue:59.
  • deprecated: inkey no longer raises RuntimeError when stream
    is not a terminal, programs using Terminal.inkey may block indefinitely if a keyboard is
    not attached, #69.
  • deprecated: using argument _intr_continue to method kbhit, behavior is as
    though such value is always True since 1.9.

1.16.1: Windows py2 locale bugfix

22 Oct 14:48
Compare
Choose a tag to compare
  • merge #112 to resolve locale issues on windows with python2

1.16.0: Windows Support

18 Oct 03:10
Compare
Choose a tag to compare
  • Windows support?! #110