Expand description
Responsive layout: pure functions mapping window size + stored pane sizes to the sizes actually rendered. Stored sizes are never modified.
Structs§
- Layout
Dims - 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.