Skip to main content

Module ui

Module ui 

Source
Expand description

Drawing: pure functions from &AppState to the frame. The only state the draw pass writes back is the measured viewport heights, which the reducer needs for paging.

Modules§

bars
The two command bars: global (top, reversed) and context (below, dim). Both render whatever keymap::bar_items derives from the binding table, so they cannot drift from dispatch.
cmd
The bottom line: the ‘:’ editor in Command mode, else the last message or a hint.
help
The help overlay: the full binding table (rendered from KEYMAP, so it cannot drift) plus the ex-command reference.
list
The left panel: the jot list for the current source ∩ scope.
view
The right panel: metadata strip on top, content below.

Functions§

draw