Skip to content

Bump blessed from 1.20.0 to 1.21.0 #909

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 5, 2025

Bumps blessed from 1.20.0 to 1.21.0.

Release notes

Sourced from blessed's releases.

1.21.0

  • bugfix infinite loop in method Terminal.wrap() when "Wide" characters of width 2 (East-Asian or Emoji) are used with a wrap width of 1, and a small performance enhancement, #273 and #274 by @​grayjk, merged as #275
Changelog

Sourced from blessed's changelog.

.. py:currentmodule:: blessed.terminal

Version History

1.21

  • bugfix infinite loop in :meth:~Terminal.wrap when "Wide" characters of width 2 (East-Asian or Emoji) are used with a wrap width of 1, and a small performance enhancement, :ghissue:273 and :ghpull:274 by :ghuser:grayjk merged as :ghpull:275.

1.20

  • introduced :meth:~Terminal.get_fgcolor and :meth:~Terminal.get_bgcolor to query the terminal for the currently set colors. :ghissue:237 by :ghuser:stefanholek
  • bugfix: Copy globals dict before iterating to avoid RuntimeError in multithreaded applications, :ghissue:248 by :ghuser:adamnovak

1.19

  • introduced :meth:~Terminal.truncate to truncate a string while retaining the sequences, :ghissue:211 by :ghuser:fishermans-friend
  • enhancement: Add small sleep in :meth:~Terminal.kbhit on Windows to reduce CPU load :ghissue:209 by :ghuser:numerlor
  • enhancement: :meth:~Terminal.rjust, :meth:~Terminal.ljust, and :meth:~Terminal.center now accept :class:~typing.SupportsIndex types, :ghissue:234
  • enhancement: When 88 colors is detected, it is now interpreted as 16 colors rather than raising an :exc:AssertionError, :ghissue:235
  • bugfix: Fix global variable declarations in type annotations, :ghissue:230 by :ghuser:mwchase

1.18

  • bugfix: :meth:~Terminal.split_seqs for some sequences like term.move_left(3), :ghissue:197.
  • introduced: type annotations, :ghissue:192 by :ghuser:dlax.
  • bugfix: do not fail when sys.stdin is unset, :ghissue:195 by :ghuser:Olen
  • docfix: correct "Bottom of the screen" example to use end='' and document about it in location.rst, :ghissue:188 by :ghuser:pyfisch

1.17

  • introduced: :ref:hyperlinks, method :meth:~Terminal.link, :ghissue:116.
  • introduced: 24-bit color support, detected by term.number_of_colors == 1 << 24, and 24-bit color foreground method :meth:~Terminal.color_rgb and background method :meth:~Terminal.on_color_rgb, as well as 676 common X11 color attribute names are now possible, such as term.aquamarine_on_wheat, :ghissue:60.
  • introduced: term.move_xy, recommended over built-in move capability, as the argument order, (x, y) matches the return value of :meth:~.Terminal.get_location, and all other common graphics library calls, :ghissue:65.
  • introduced: :meth:~.Terminal.move_up, :meth:~Terminal.move_down, :meth:Terminal.move_left, :meth:~Terminal.move_right which 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 as

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels May 5, 2025
Bumps [blessed](https://github.com/jquast/blessed) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/jquast/blessed/releases)
- [Changelog](https://github.com/jquast/blessed/blob/master/docs/history.rst)
- [Commits](jquast/blessed@1.20.0...1.21.0)

---
updated-dependencies:
- dependency-name: blessed
  dependency-version: 1.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/blessed-1.21.0 branch from 4f892e5 to 2e0aa11 Compare May 5, 2025 22:46
Copy link

codeclimate bot commented May 5, 2025

Code Climate has analyzed commit 2e0aa11 and detected 0 issues on this pull request.

View more on Code Climate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants