mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-05 21:46:49 -04:00
The main section shows one pane or two, which was enough while the second pane only ever accompanied the first. It is about to have to show the second one by itself: the working tree's staged changes are moving there for good, and a file with nothing but staged changes has only that side to show — it should have the whole section rather than sit under an empty pane. So which panes are shown becomes a three-way answer, derived from which of them the render has content for. Behaviour-preserving: nothing renders into the secondary pane alone yet. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>