Skip to content

v0.11.2

Choose a tag to compare

@github-actions github-actions released this 06 Nov 09:25
· 9 commits to main since this release

Bitmaps that actually draw

  • No more walls of +. When running inside an outer tmux, tmux does not forward Sixel: it substitutes a SIXEL IMAGE (WxH) placeholder made of + cells. Bitmap protocols are now chosen so that only terminals that can really paint are used, and the reason is reported when they cannot.
  • Kitty direct display (a=T) covers the v page view and the image preview on terminals that draw images but do not implement Unicode placeholders (some mobile SSH clients). Inside an outer tmux that path additionally needs set -g allow-passthrough on.
  • Sixel is written after the frame. textual-image hands the whole DCS to Textual as a rendered segment, and Textual 8 crops a line to its cell width — on a narrow terminal the ST terminator was cut off and the terminal waited forever. The DCS is now written straight to the terminal (ESC7 + cursor move + DCS + ESC8), encoded on a worker thread (a full 2520x1260 page measures ~380 ms) with a small LRU, so page turns do not block the UI.
  • Scope: Sixel is used only by the v page view and the image preview. Images inside the scrolling Markdown body keep their alt text — an encoded sixel cannot be re-placed after scrolling.
  • The page view still flips one page per keypress; the previous page is cleared before the next one is transmitted, and a static image is not repainted when the page changes.

Compact layout

  • The context menu has its own bottom key bar. In the compact layout the tree page's key bar sits on the main screen, behind the modal menu, so tapping ESC / ↑ / ↓ / ENT landed on the modal background and hit "tap outside the menu -> close". The menu screen now shows its own ESC / ↑ / ↓ / ENT bar that drives the highlighted item and selects it (or closes on ESC). The desktop layout is unchanged.

Upgrade

pipx upgrade myrtui
# or, for a pip install:
pip install -U myrtui
# or, fresh install:
curl -fsSL https://raw.githubusercontent.com/YidingPing/myrtui/main/scripts/install.sh | sh

Python >= 3.10. Bitmaps need Python >= 3.12 plus textual-image / Pillow, which the installer pulls in automatically; everything else works without them.