Skip to main content

Module layout

Module layout 

Source
Expand description

Responsive layout: pure functions mapping window size + stored pane sizes to the sizes actually rendered. Stored sizes are never modified.

Structs§

LayoutDims
Pane sizes to render.

Constants§

COMMIT_MAX_FRAC
Max commit-log share of width remaining after the sidebar.
NARROW_WIDTH
Below this window width the sidebar is hidden.
SIDEBAR_MAX_FRAC
Max sidebar share of window width.
STAGING_MAX_FRAC
Max staging-area share of window height.