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
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.
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)
Updates the requirements on blessed to permit the latest version.
Release notes
Sourced from blessed's releases.
Changelog
Sourced from blessed's changelog.
... (truncated)
Commits
d404d8c
Bump version to 1.20.054b367d
Move base python for testing to 3.118c0d4ac
Add metadata for latest versions of Pythonca28503
Copy globals before iteratingd933a37
Fixes for latest Pylintfaf10af
Fix for GitHub Actionsf77e676
Add Terminal.get_fgcolor() and Terminal.get_bgcolor() (#237)7a114c3
Fix and update CI test configs0ba532f
Minor code tweaks0c5549b
Return full SupportsIndex supportDependabot 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)