Skip to content

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 05 Nov 07:45
· 25 commits to main since this release

Phone-first compact layout gets a real key bar.

Highlights

  • Touch key bar (compact layout only). A 3-row strip of 3x3-cell keys sends
    ESC, ENT, Shift-Tab, /, @, Up, Down, Ctrl-J (newline) and
    Backspace with one tap, so the keys an AI coding TUI needs most are reachable
    without summoning the soft keyboard. Each tap flashes accent for 150 ms; the
    strip is left-aligned, leaving room for more keys later.
  • Page buttons on the top bar. B opens the file tree as a full page and
    G opens the Git history; the lit button closes it again, and focus stays on
    the page instead of jumping back to the hidden pane.
  • KEY toggle. Show or hide the bar for the current run. MYRTUI_KEYBAR=off
    disables it permanently and hides the toggle (for terminals that already have a
    complete extra-keys row).
  • A blank row below the top bar so a near miss does not land in the first row
    of the terminal, which on a phone is often opencode's own tab strip.

Behaviour

  • The bar is contextual. The file-tree page swaps in ESC / Up / Down /
    ENT / menu (three-line glyph); the Git page uses ESC / Up / Down /
    ENT, where ENT toggles the full commit card for the highlighted commit.
  • On very narrow screens keys are dropped from the tail by priority. B / G
    hide as a pair when the top-bar row does not fit, rather than pushing ? off
    the edge.
  • Compact heights: a 46x22 phone screen is a 46x17 pane (46x20 with the key bar
    hidden); 49x23 gives an 18-row pane.
  • Key routing shares a single path with the physical keyboard, so Ctrl-a prefix
    state, sidebar focus and dead panes behave identically for taps.

Upgrade

pip install -U myrtui

No new runtime dependencies.