Skip to content

Sprite v0.7.0

Choose a tag to compare

@HundredBillion HundredBillion released this 17 Nov 04:33
1cd5dba

Sprite v0.7.0 lets a native list draw a full source-control panel, gives the keyboard back to the right part of a pane when you return to it, and builds from upstream Ghostty.

  • Decorated rows in native lists: a virtual_list row could carry only an icon, a label and guides. A host now advertises virtual-list-rows-v2, and a row can be a text input or a button, have its own height, and show a dimmed description, a badge, a count, strikethrough or bold text, and icon buttons on hover. scm.nvim v0.2.0 uses this to lay its panel out like VS Code's Source Control view. A row sent without decorations draws as before (#166).
  • The keyboard returns to what held it: moving to a pane with Cmd+[ / Cmd+] or Ctrl+Shift+arrow always focused the pane's terminal, so an editor drawn as a Surface, such as VSVim, stayed inactive until you clicked it or pressed Ctrl+Shift+Space. A pane now remembers whether its terminal or one of its Surfaces held the keyboard and restores it. sprite panes focus does the same (#167, closes #165).
  • Built from upstream Ghostty: the terminal engine now comes from ghostty-org/ghostty at tag vt-1.0.1, through Uzaaft/libghostty-rs, instead of the two forks earlier releases built from. An existing checkout needs git submodule sync --recursive once after pulling, because the submodule address changed (#164).

Compatibility

Nothing a program relies on changes: undecorated list rows, the Surface protocol and pane control behave as in 0.6.1. To get the new Source Control panel in VSVim or Neovim, update the plugins with :Lazy update sprite.nvim scm.nvim (sprite.nvim v0.6.0 or later) and restart.

Validation

CI passed on the commit this release is built from, on macOS and Arch Linux: format, clippy with warnings denied, and the full test suite.