./devel/py-blessed, Wrapper around terminal styling, screen positioning, and input

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.33.0, Package name: py313-blessed-1.33.0, Maintainer: pkgsrc-users

Blessed is an easy, practical library for making terminal apps, by providing an
elegant, well-documented interface to Colors, Keyboard input, and screen
position and Location capabilities.


Master sites:

Filesize: 13652.703 KB

Version history: (Expand)


CVS history: (Expand)


   2026-03-13 09:29:17 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message: py-blessed: updated to 1.33.0 1.33 * bugfix: :class:`blessed.line_editor.LineEditor` exceed limit when using Yank \ (Ctrl+Y). * bugfix: :meth:`~.Terminal.async_inkey` no longer raises NotImplementedError on \ Windows. 1.32 * bugfix: :meth:`~.Terminal.get_kitty_keyboard_state` should not check for :attr:`~.Terminal.does_styling` as a requirement. * bugfix: :meth:`~.Terminal.get_fgcolor` and :meth:`~.Terminal.get_bgcolor` now return "no support" value, ``(-1, -1, -1)`` when \ :attr:`~.Terminal.does_styling` is False. * introduced: :meth:`~.Terminal.does_kitty_clipboard`, :meth:`~.Terminal.does_kitty_pointer_shapes`, and \ :meth:`~.Terminal.does_text_sizing` * introduced: :meth:`~.DecModeResponse.to_dict` and \ ``DecPrivateMode.BRACKETED_PASTE_MIME`` constant (mode 5522). 1.31 * bugfix: :meth:`~.cbreak` and :meth:`~.raw` should use ``TCSADRAIN`` to \ preserve keystrokes buffered during mode switches, previously ``TCSAFLUSH`` was used which \ discarded unread input, dropping keystrokes. * improved: all terminal query methods now use a CPR boundary guard for fast \ negative detection of unsupported features: :meth:`~.Terminal.get_fgcolor`, \ :meth:`~.Terminal.get_bgcolor`, :meth:`~.Terminal.get_device_attributes`, and \ :meth:`~.Terminal.get_software_version`. * introduced: :meth:`~.Terminal.async_inkey` -- asyncio-compatible version of :meth:`~.Terminal.inkey`. * introduced: :class:`blessed.line_editor.LineEditor`, a "headless" \ single-line editor. * introduced: :meth:`~.Terminal.get_xtgettcap` -- query terminal capabilities \ via XTGETTCAP and :meth:`~.Terminal.get_iterm2_capabilities` for iTerm2 protocol features. * introduced: terminal feature detection methods \ :meth:`~.Terminal.does_bracketed_paste`, :meth:`~.Terminal.does_focus_events`, :meth:`~.Terminal.does_grapheme_clustering` :meth:`~.Terminal.does_iterm2`, :meth:`~.Terminal.does_iterm2_graphics`, :meth:`~.Terminal.does_kitty_graphics`, \ :meth:`~.Terminal.does_kitty_notifications`, :meth:`~.Terminal.does_synchronized_output`, and :meth:`~.Terminal.does_xtgettcap`. 
   2026-02-09 11:07:28 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message: py-blessed: updated to 1.30.0 1.30 * bugfix: Terminal.wrap drops color escape sequences * bugfix: Prevent rare feedback loops in automatic responses 
   2026-02-02 11:11:24 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message: py-blessed: updated to 1.29.0 1.29 * bugfix: :meth:`Terminal.get_kitty_keyboard_state` failed to match 1.28 * improved: upgrade to wcwidth 0.5, improving performance and correctness of :meth:`Terminal.wrap`, :meth:`Terminal.ljust`, and related functions, * deprecated: Python 3.7 and earlier no longer supported. 
   2026-01-23 10:19:19 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message: py-blessed: updated to 1.27.0 1.27 * bugfix missing tests, bin, and docs folder in 1.26 release, :ghpull:`341`. 1.26 * introduced: :meth:`Terminal.detect_ambiguous_width`, :ghpull:`339`. * introduced: :meth:`Terminal.no_line_wrap`, context manager for attributes ``disable_line_wrap`` and ``enable_line_wrap`` :ghpull:`337`. * introduced: New methods :meth:`Terminal.color_hex` and \ :meth:`Terminal.on_color_hex` and bugfix parsing of uncommon responses in :meth:`Terminal.get_fgcolor` and bgcolor, \ :ghpull:`335`. * improved: performance of :meth:`Terminal.wrap`, :ghpull:`331` by \ :ghuser:`grayjk`. * improved: :meth:`Terminal.wrap` gets break_on_hyphen support, matching behavior of :func:`textwrap.wrap` by :ghuser:`ps06756` in :ghpull:`330`. * bugfix: for missing leading sequences in :meth:`Terminal.center`, \ :meth:`Terminal.wrap()`, add support for emojis containing Zero Width Joiner (`\u200D`) or Variation \ Selector-16 (`\uFE0F`), :ghpull:`338` 
   2025-11-26 07:46:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message: py-blessed: updated to 1.25.0 1.25 * bugfix: The "Copy globals" fix in 1.20 got reverted in release in 1.23 
   2025-11-17 06:27:13 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message: py-blessed: updated to 1.24.0 1.24.0 bugfix: get_sixel_height_and_width detection order and improve documentation for window resize event handling bugfix: change default argument timeout=None to timeout=1 in methods requiring automatic response, preventing stalls on "dumb" terminals 
   2025-11-11 11:38:30 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message: py-blessed: updated to 1.23.0 1.23 * introduced: Environment values FORCE_COLOR_, CLICOLOR_FORCE_, and NO_COLOR_ \ overrides :class:`blessed.Terminal` argument value, ``force_styling`` * improved: performance of :meth:`~Terminal.rgb_downconvert` for 256-color terminals, * deprecated: Python 2.7 through 3.6 no longer supported. * improved: keyboard support for modifier keys, * introduced: kitty keyboard protocol support, * introduced: mouse support, Synchronized Output, and support for DEC Private Modes, * introduced: methods to determine Sixel, dimensions and color depth * introduced:``does_sixel()`` and color depth query support * introduced: in-band resize support (DEC Private Mode 2048) * introduced: XTVersion identification: * bugfix: default timeout for get_bgcolor, get_fgcolor 
   2025-10-03 11:19:30 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message: py-blessed: updated to 1.22.0 1.22 * performance improvements * spelling fixes