mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 23:56:24 -04:00
The inclusion gutter (the ✓ markers on the commit diff showing which lines are in the custom patch) is painted on the Normal pane but is an affordance of the whole focused-main-view pair. It was gated on the Normal pane specifically being current, so tabbing to the secondary (custom-patch) pane hid it — even though both panes are visible and you're still building the patch. Show it whenever either pane of the focused main view holds focus, finding the side panel beneath whichever pane is current. GetOnFocusLost now re-evaluates the gutter (rather than unconditionally hiding) so it persists across a pane switch but still hides when focus leaves the pair; the new context is already current by then, so it decides correctly and doesn't flicker. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| cheatsheet | ||
| commands | ||
| common | ||
| config | ||
| constants | ||
| env | ||
| fakes | ||
| gocui | ||
| gui | ||
| i18n | ||
| integration | ||
| jsonschema | ||
| logs | ||
| snake | ||
| tasks | ||
| theme | ||
| updates | ||
| utils | ||