Repository navigation
v0.10.0
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 4tabs,+ × 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|offforces or disables the mode. ×in the top bar closes the focused pane. It asks first when a program is
running (same asCtrl-a w) and is disabled when only one pane is left.- Separate sidebar pages in the compact layout.
Ctrl-a sopens the file tree
full-height andCtrl-a gopens the git history; the other block is hidden, so
the tree has the whole screen for its context menu.Ctrl-a bopens the tree
page and closes any open page;Escor 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.jsonare left untouched; they apply again on a wide screen.
Fixed
- Clicking
×orKilland 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 myrtuiNo 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.