mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-11-21 04:46:29 +03:00
The only way to change the width of the side panels was the gui.sidePanelWidth config. Finding a good value took some trial and error, a value didn't work well across very different screen widths, and it had no effect in half screen mode. The user can now drag the boundary between the side panels and the main view with the mouse. The boundary consists of the right edges of the side panels and the left edges of the main view and the command log, so it is two columns wide (or two rows high if the side panels are above the main view). While the mouse hovers over it, it is drawn with heavy lines, and the bottom line says that it can be dragged. A double click resets the size to the default. A single click does nothing. The size is saved in state.yml when the drag ends. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>