Skip to content

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 04 Nov 15:13
· 30 commits to main since this release

Added

  • A compact layout for narrow screens. Below 60 columns (or 16 rows) myrtui
    switches automatically: one pane at a time, no pane border, the sidebar hidden,
    and a one-line top bar (1 2 3 4 tabs, + × d k ? buttons). A 46×22 phone
    screen now gives the focused pane the full 46×21 instead of four ~10-column
    cells. Leaving the compact layout needs 64×18 (4-column / 2-row hysteresis), so
    a soft keyboard appearing and disappearing does not flip it back and forth.
    MYRTUI_COMPACT=on|off forces or disables the mode.
  • × in the top bar closes the focused pane. It asks first when a program is
    running (same as Ctrl-a w) and is disabled when only one pane is left.
  • Separate sidebar pages in the compact layout. Ctrl-a s opens the file tree
    full-height and Ctrl-a g opens the git history; the other block is hidden, so
    the tree has the whole screen for its context menu. Ctrl-a b opens the tree
    page and closes any open page; Esc or a tab returns to the pane.

Changed

  • Tapping ? now toggles the shortcut overlay — a second tap closes it.
    Previously the outside-tap handler closed it and the button reopened it, which
    made the overlay impossible to dismiss from the button itself.
  • In the compact layout the splitter handles are hidden and the ratios in
    layout.json are left untouched; they apply again on a wide screen.

Fixed

  • Clicking × or Kill and cancelling could leave the mouse in a
    text-selection drag.
    The mouse-down on a top-bar button started a Textual
    selection before the confirm dialog opened, and the real mouse-up landed on the
    dialog, so the main screen never cleared the state. Top-bar buttons and pane
    tabs are no longer selectable.

Upgrade

pip install -U myrtui

No new dependencies. MYRTUI_COMPACT=off restores the 0.9.x layout immediately
if you need to roll back.

Known limits

  • The ? overlay still wraps in 46-column terminals.
  • Bitmap previews still require Sixel/TGP; no change for phones.