Repository navigation
Releases
ElmTUI 0.4.0
Breaking release that completes the export cleanup from the API review. Every exported ElmTUI symbol now names a real binding (or a registered message/model schema), and the release gate keeps it so. Qualified by the full release gate in CI (run 41273094426).
Breaking changes
-
Curated root package. The root
elmtuipackage exports these 13 application symbols:defapplication,deftea-appmake-update-result,state-refkey-pressed-p,quit-requested-pkey-event,key-event-p,key-event-key,key-event-char,key-event-modifiersdark-theme,light-theme
Until now it re-exported by name: 127 of its 128 own exports (
elmtui:button,elmtui:vbox,elmtui:with-terminal-lock, …) were fresh, unbound symbols, not the framework's. -
elmtui:dev-mainremoved, together with theelmtuisystem's program-op entry point. Useelmtui.dev:dev-main. -
88 never-defined exports removed from 21 packages. These include
defmsg's<variant>-pnames,statechangemsg, theelmtui.view.corevbox/hbox/texthelpers, theelmtui.pipelinestage names and theelmtui.view.geoshapes.
Migration
- Root package names: code that used other
elmtui:names was calling unbound functions. Use the defining packages, for exampleelmtui.platform.backend.terminal:with-terminal-lock; their symbols are unchanged. - Message predicates: use
<variant>-<message>-ppredicates such askeyevent-appmsg-pinstead of<variant>-p. - Simpler imports: application code can now import its whole API from the root package:
(:import-from :elmtui #:defapplication #:make-update-result #:state-ref #:key-pressed-p #:quit-requested-p)
See the README Quickstart and the CHANGELOG.
ElmTUI 0.3.2
Patch release with the non-breaking fixes from the API review. Qualified by the full release gate in CI (run 41272581828).
Fixed
deftea-appapplications run. Their runners used to draw nothing and fail with a type error on shutdown, and only their macro expansion was tested.deftea-appnow expands intodefapplicationwith:strict-elmsemantics. Views may still return a:root-viewporttree, and new:anchor/:heightkeys place the viewport. Ctrl-C, or a model with:should-quit t, quits.- State facades export working symbols.
elmtui.stateandelmtui.state.apiused UIOP:reexport, which exports names only and created fresh, unbound symbols. As a resultelmtui.state.api:sapply,sref,defupdateand others were unusable. They now re-export the realelmtui.state.update,elmtui.state.modelandcl-statesymbols. - One
defapplication.elmtui.app.api:defapplicationis now the same symbol aselmtui.app:defapplication. defmsgpredicates.defmsgnow exports the<variant>-<message>-ppredicates it defines. The undefined<variant>-pnames are deprecated.tmux-sliderarrow keys. In thetmux-sliderexample, arrow keys no longer quit the app; they change direction and speed.
Added
- Key and quit predicates.
elmtui.app:key-pressed-p(:char,:key,:modifiers) andelmtui.app:quit-requested-p. - Logging keys. Generated
run-NAMEfunctions accept:log-fileand:log-buffer. - New release gates:
- a
deftea-appapplication run in tmux; - the README Quickstart run in tmux;
- a ratchet on unbound exports.
- a
- A tested README Quickstart, corrected tutorial and foundations chapters, and recorded demo media on the website.
Full details: CHANGELOG.
ElmTUI 0.3.1
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
neon-tetris
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.
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
elmtuisystem no longer loads the example widgets or developer tooling. Loadelmtui-example-widgetsorelmtui-devexplicitly. - 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. Thewifi-menuexample now runsnmcliwith 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.


