Skip to content

ElmTUI 0.3.1

Choose a tag to compare

@fkr-0 fkr-0 released this 01 Nov 03:18
· 349 commits to main since this release

ElmTUI is an Elm-architecture terminal UI toolkit for Common Lisp (SBCL, POSIX terminals). 0.3.1 is the first release since 0.2.0. It covers the 0.3.0 feature line and the 0.3.1 fixes. 0.3.0 was never tagged separately.

All three recordings are real sessions: unmodified maintained examples run with scripts/examples.sh run <name> in urxvt and tmux.

Lisp Workbench: REPL, completion and image inspector

Workbench: evaluating forms, symbol completion with signatures, browsing packages and symbols

neon-tetris

neon-tetris clearing seven lines

tmux glider: a Conway glider walking over live pane text

The glider draws over whatever is in the tmux pane and restores every cell, including colours, as it moves on.

A glider crossing a coloured git log and directory listing in tmux

Highlights

tmux normal-screen mode (0.3.1)

  • Apps running in the normal screen under tmux no longer lose or duplicate scrollback when the pane shrinks and grows. The driver keeps a ledger of the real underlay, composites each frame over it and never paints over rows tmux pulled back from history. On exit, the history comes back exactly.
  • The cursor inspector's focus box is drawn at physical pane coordinates.
  • New release gates quit every maintained example, plus a packager-built binary, on top of 70 lines of styled tmux history. Each must exit with status 0, identical stty, a visible cursor and exact scrollback.

Core and tooling (0.3.0)

  • Breaking: the elmtui system no longer loads the example widgets or developer tooling. Load elmtui-example-widgets or elmtui-dev explicitly.
  • The Workbench renders through native flex panes, with fixes for short viewports, tiny resizes and Unicode cell alignment.
  • tmux capture accepts only SGR styling and drops every other control sequence. *tmux-socket* and *tmux-target-pane* address a server and pane you own.
  • Hardened defaults, focus history, DSL validation (invalid-dsl-form), styles and widgets. The wifi-menu example now runs nmcli with a timeout and an output size limit.
  • API-contract and behaviour suites, plus an enforced SB-COVER gate. The coverage badge is published by CI from a green main.

Release qualification

  • CI runs the canonical scripts/release-check.sh: 40 gates covering warning-clean builds, the test suites, coverage, real-PTY and tmux end-to-end tests, the Workbench, a docs/API reference freshness check, a frozen source archive, a cold install and public dependency pins. This tag was qualified by run 41267270185.

Dependencies (git submodules)

library commit
cl-events 798cb3b
cl-inputs 10c75b3a
cl-state 91a29b7
cl-styles e4d64c5

Clone with git clone --recurse-submodules https://github.com/fkr-0/elmtui.git.

Known limitations

  • Qualified on SBCL on POSIX terminals only.
  • tmux reflow of rows wider than a shrunken pane is not modelled.
  • The optional Workbench keeps its own component version (0.1.0).

Full details are in CHANGELOG.md.