Skip to content

Sprite v0.9.0

Choose a tag to compare

@HundredBillion HundredBillion released this 19 Nov 18:11
· 37 commits to master since this release
8ed497e

What changed

  • A dock under the editor. open takes "side":"bottom" for a Surface docked under the grid, sized by its height (feature dock-bottom-v1). It sits between the side docks, takes at most half the pane's height, can be dragged by its top edge, and is reached by focus cycling after the side docks. A footer on the grid's last row stays the last thing in the pane. sprite surface open --dock bottom opens one. (#176)
  • Read Surfaces, watch panes, keep a connection open. Pane Control's read returns what a Surface shows as text (a grid's rows and cursor, a list's rows, an element tree's text), watch sends one line when a watched pane changes, and keep_open lets one connection send request after request. At most 8 of a window's 16 connections may stay open. (#175)

Fixes

  • The bottom dock's drag handle sits on its visible top edge beside a footer, and the dock no longer jumps a row while a resize catches up.
  • A Surface read stays within the response limit: all of a pane's Surfaces share one 2 MiB bound. watch answers gone for a pane that is not there, and reports renames, tab switches and resizes.
  • On macOS, sprite panes watch exits cleanly when its window closes instead of failing with "Invalid argument".
  • The Arch package builds from a clean checkout again.

Compatibility

Existing clients keep working. A client asks for a bottom dock only when the host lists dock-bottom-v1: sprite.nvim v0.8.0 and later does, and scm.nvim v0.4.0 uses it to draw its map of how a line gets run as a picture.

Validation

cargo test --workspace, clippy and format pass on the release commit, including the allocation budget test (100,000 rows) and a new test of a resizable bottom dock beside a footer.

Compare: v0.8.0...v0.9.0