Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Bump blessed from 1.19.1 to 1.20.0 #65

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 6, 2023

Bumps blessed from 1.19.1 to 1.20.0.

Release notes

Sourced from blessed's releases.

1.20.0

  • introduced Terminal.get_fgcolor() and Terminal.get_bgcolor() to query the terminal for the currently set colors. #237 by @​stefanholek
  • bugfix: Copy globals dict before iterating to avoid RuntimeError in multithreaded applications, #248 by @​adamnovak
Changelog

Sourced from blessed's changelog.

.. py:currentmodule:: blessed.terminal

Version History

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 term.move_right(9).
  • introduced: :attr:~Terminal.pixel_width and :attr:~Terminal.pixel_height for libsixel support or general curiosity.
  • introduced: :meth:~.Terminal.formatter which returns callable formatters for valid text formatters such as 'red' or 'bold_on_red', returning a :class:~blessed.formatters.NullCallableString if passed an invalid text formatter.

... (truncated)

Commits
  • d404d8c Bump version to 1.20.0
  • 54b367d Move base python for testing to 3.11
  • 8c0d4ac Add metadata for latest versions of Python
  • ca28503 Copy globals before iterating
  • d933a37 Fixes for latest Pylint
  • faf10af Fix for GitHub Actions
  • f77e676 Add Terminal.get_fgcolor() and Terminal.get_bgcolor() (#237)
  • 7a114c3 Fix and update CI test configs
  • 0ba532f Minor code tweaks
  • 0c5549b Return full SupportsIndex support
  • Additional commits viewable in compare view

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 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)

Bumps [blessed](https://github.com/jquast/blessed) from 1.19.1 to 1.20.0.
- [Release notes](https://github.com/jquast/blessed/releases)
- [Changelog](https://github.com/jquast/blessed/blob/master/docs/history.rst)
- [Commits](jquast/blessed@1.19.1...1.20.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants