COMMON LISP · DECLARATIVE TUI · THE ELM ARCHITECTURE
Interfaces for the terminal-native world.
ElmTUI is a declarative Common Lisp terminal UI framework. Describe your interface, transform state through messages, compose widgets and let the renderer handle the screen.
THE ELM TUI WORKBENCH Flagship application · shipped in 0.3.1
ELMTUI / LISP WORKBENCH SBCL · CL-USER
;;; A live Common Lisp environment
CL-USER> (mapcar #'1+ '(1 2 3))
(2 3 4)
CL-USER> (describe 'defun)▌
▸ DEFUN Define a function
DEFMACRO Define a macro
CL-USER> (mapcar #'1+ '(1 2 3))
(2 3 4)
CL-USER> (describe 'defun)▌
▸ DEFUN Define a function
DEFMACRO Define a macro
IMAGE INSPECTOR
Packages
Symbols
ASDF systems
Diagnostics
INSPECTION
Packages
Symbols
ASDF systems
Diagnostics
INSPECTION
MORE EXAMPLES Interactive demos shipped with the framework
TMUX GLIDER
⬛⬜⬜⬛
NEON TETRIS
neon-tetris
NEON TETRIS
01 / ARCHITECTURE
Model → Update → View
Keep events, state transitions and terminal rendering separate. Use commands for external effects.
02 / COMPOSITION
Build with widgets
Structured layouts, input, focus, scrollable views, styled controls and reusable components.
03 / RENDERING
Change only what changed
Virtual buffers and diff-based presentation avoid needless terminal output when the frame is unchanged.
A FRAMEWORK BUILT TO MOVE
Animated, responsive, composable.
The tmux slider sweeps a colour band across a live tmux pane and restores every cell behind it. Arrow keys reverse it and change its speed; Space pauses. More recordings are in the examples gallery.
TERMINAL SLIDER / ANIMATION PREVIEW
scripts/examples.sh run tmux-slider