Skip to main content

Module view

Module view 

Source
Expand description

view(model) -> frame (doc 34, section 4): draws the whole interface from the model and changes nothing. The frame is a status line, the tabs, the screen of the tab, a footer, and at most one popup over them (TUI-FRM-*).

Modules§

modal
The popups (doc 34, TUI-FRM-07): help, command palette, language, confirmation, result of an action, what a condition means, and the path of an export. Only one is open at a time.
widgets
The small pieces the screens share (doc 34, view/widgets): popup placement, scrolling text with its bar, the selected row, the “incomplete” seal and the missing-permission notice.

Constants§

MIN_SIZE
The smallest terminal the interface is laid out for (TUI-FRM-06).

Functions§

view