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.
bugfix: prevent ValueError: I/O operation on closed file on sys.stdin in multiprocessing
environments, where the keyboard wouldn't work, anyway.
bugfix: prevent error condition, ValueError: underlying buffer has been detached in rare
conditions where sys.stdout has been detached in test frameworks. :ghissue:126.
bugfix: off-by-one error in :meth:~.Terminal.get_location, now accounts for %i in
cursor_report, :ghissue:94.
bugfix :meth:~Terminal.split_seqs and related functions failed to match when the color index
was greater than 15, :ghissue:101.
bugfix: Context Managers, :meth:~.Terminal.fullscreen, :meth:~.Terminal.hidden_cursor, and
:meth:~Terminal.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, :ghissue:115 by :ghuser:jwezel.
bugfix: ensure :class:~.FormattingOtherString may be pickled.
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
bf0ef30
Fix metadata formatting (#220)77072dc
Add default width and typing for Terminal.truncate() (#219)6d21558
Fix for Pylint 2.11.005c1fac
Update history file0e98872
Reduce calls to check platform0ca0577
Add Terminal.truncate() method (#212)2d4aec6
Test updates (#217)40c8791
Miscellaneous code tweaks (#216)07767d8
Add small sleep to reduce CPU load in kbhit() on Windows #208d28c7b7
Enable GitHub Actions (#210)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)