escriba-tui — ratatui terminal renderer.
Third render backend alongside the GPU window (garasu) and the headless text snapshot. Runs inside any TTY (ghostty, alacritty, iTerm, kitty, ssh -t, tmux, CI with a pty). Same modal editing, same command palette, same tatara-lisp config — different presentation layer.
Architecture:
run()enters raw mode, claims the alternate screen.- A
poll_eventsloop reads crossterm key events, translates each into anescriba_runtimetick, marks the UI dirty. - On every dirty tick, ratatui redraws the frame — buffer pane + status line, with Nord-inspired styling.
- On quit (Ctrl-C,
:q, Esc on the top-level), raw mode is released and the alternate screen restored.
Same EditorState powers all three backends, so behavior is identical;
only the rendering target differs.