Skip to content

Tags: jquast/blessed

Tags

1.25

Toggle 1.25's commit message
document 1.25 bugfix

1.24

Toggle 1.24's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Improved Sixel height and width, on_resize.py improved (#320)

Improve sixel size order-preference by suggested implementation from @j4james,
pexpect/ptyprocess#79 (comment)

Pixel/Window and Sixel sizes are different because there is almost always some "remainder" in the margins of a window:
<img width="298" height="276" alt="image" src="https://github.com/user-attachments/assets/5a3badef-35d0-4431-99f9-9031ece511c6" />

Sixel cannot draw in the black margin areas (smaller).

on_resize.py
------------------

The example script and surrounding documentation was improved to make this distinction clear, and, design tips on how "safely" use signal handlers as well as "de-bouncing" in our example.

Some example outputs of bin/on_resize.py:

- Konsole ``height=29, width=143, pixel_height=764, pixel_width=1574, sixel_height=754, sixel_width=1573``
- Bobcat ``height=23, width=115, pixel_height=0, pixel_width=0, sixel_height=529, sixel_width=1150``
- kitty ``height=44, width=160, pixel_height=880, pixel_width=1440, sixel_height=0, sixel_width=0`` (no sixel)
- ghostty ``height=24, width=119, pixel_height=528, pixel_width=1190, sixel_height=0, sixel_width=0`` (no sixel)

1.23

Toggle 1.23's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Set version for next release, 1.23 (#316)

1.22.0

Toggle 1.22.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Set version 1.22 for release (#294)

1.21.0

Toggle 1.21.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #275

Closes #273 by @grayjk,

> The following code enters an infinite loop:

    import blessed
    blessed.Terminal().wrap('\u5973', 1)

This PR fixes it by explicit check: when
- the given individual sequence is of length '2'
- and the wrap width is '1'
- and the cur_len is '0'

we cannot break down this "Wide" character any further -- so it is allowed to "flow outside" the given cell.

1.20.0

Toggle 1.20.0's commit message
Bump version to 1.20.0

1.19.1

Toggle 1.19.1's commit message
Bump version to 1.19.1

1.19.0

Toggle 1.19.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix metadata formatting (#220)

1.18.1

Toggle 1.18.1's commit message
Add 'Typing :: Typed' classifier

Follow-up on #190, see https://pypi.org/classifiers/.

1.18.0

Toggle 1.18.0's commit message
Cut version 1.18.0