Repository navigation
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.