Skip to content

v0.1.0-alpha.181

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Sep 10:09

Added

  • Command palette — every overlay is drawn the same way: a bold title with its count at the right edge, a › before the query, one empty row between title, query, list and keys, the keys that work inside the box, and no line at the left edge.

    What was wrong

    Each overlay had its own spacing, its own title colour and its own row lead. The title and the
    placeholder shared one faint colour on adjacent rows, the settings indented their titles two columns
    past the palette's, and the keys that worked sat in the footer under the scrim, dimmed by the very
    box they described.

  • Preferences — the preferences are a sheet along the bottom of the terminal, one row per preference with on or off in a value column, and what the highlighted one does said once under the list.

    What was wrong

    The preferences opened as a box over the middle of the diff, two rows per preference, so toggling
    one meant looking past the box to see the diff it changed.

  • Command palette — commands are grouped under their category's headline, and the cursor row is painted across the whole box.

  • Preferences — the editor a line opens in is the last row of the preferences sheet, and return on it offers the editors on the machine.

Fixed

  • Command palette — return runs the command under the cursor; it used to run the first match, because the return key reached the filter box first and reset the cursor.

  • Preferences — escape closes the sheet after a visit to the editor picker; it used to bounce back to the sheet forever.

  • Search — an empty search is one faint row saying where the matches will list, instead of a nine-row void.


Install with brew install Newbie012/tap/adiff, or npm i -g @eliya-oss/agent-diff@alpha if you would rather run it on Node. The binaries below need no runtime at all.