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.

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.
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
Window