Skip to main content

Crate escriba_ui

Crate escriba_ui 

Source
Expand description

escriba-ui — Layout, Window, Viewport, StatusLine. Pure state; rendering lives in escriba-render.

Re-exports§

pub use shikiri::Window;

Modules§

chrome
Theme → concrete chrome colors. The ONE place a FleetTheme becomes paintable values, shared by the TUI and GPU renderers so they cannot drift apart (or off the fleet baseline) again. ChromePalette — the ONE seam where a FleetTheme becomes the concrete colors escriba’s chrome paints with.
gutter
The gutter — line numbers and finding marks, composed once. The ratatui face built its own inline and the GPU face had none at all; this is the same “one model, N faces” repair the status line and splash already had. The gutter — one definition, painted by every face.
picker
The picker — a filtered list of candidates that holds keys while open. The narrowing machine is egaku::FuzzyPicker; escriba owns the SOURCE (what accepting means) and the key translation. The picker — a filtered list of candidates that holds keys while open.
shikiri
仕切り — the container tree behind :sp / :vsp. Pane geometry is DERIVED by solve(tree, frame); scroll position stays on the window. 仕切り — shikiri, “partition”. The container tree behind :sp / :vsp.
splash
The start screen — one laid-out model every face paints, rather than three copies of the same centering arithmetic. Splash — the start screen escriba paints when it opens with no file.
syntax
Syntax colours resolved through ishou, so a theme change recolours the CODE and not just the frame. hikari ships one hardcoded Nord table; this reproduces it on the fleet default and extends it to every theme. Syntax colours, resolved through ishou for every theme.

Structs§

Layout
StatusLine
Viewport

Enums§

Dir
A direction to move focus in.