Files
lazygit/pkg
Stefan HallerandClaude Opus 5.5 3e7d633b5f Lay out the side panels with sizes from state.yml
The next commits let the user resize the side panels by dragging the
boundary between them and the main view, and remember the size in
state.yml. This commit turns the remembered sizes into a layout.

A ratio that works well on a laptop screen wastes a lot of space on a
large monitor, so the size is remembered separately for each screen
size at which the user set it. At other screen sizes, the size is
interpolated between the two neighboring ones, or keeps the ratio of
the nearest one beyond the smallest and the largest. With only one
remembered size, this is the same as a fixed ratio.

The size is also remembered separately for each layout, because e.g.
half screen mode and portrait mode need very different sizes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 19:40:26 +01:00
..
2025-11-15 10:46:23 +01:00