mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
Mouse clicks on a view other than the focused popup panel are normally swallowed by the ShouldHandleMouseEvent gate, so a registered click handler can't run while a modal is up. Hyperlink clicks already dodge this by being handled in an earlier phase; generalize that to ordinary mouse bindings via a HandleWhenPopupPanelFocused flag, dispatched before the gate. No binding sets it yet, so behavior is unchanged. This is what lets a click on the main view stay live behind a popup (e.g. opening a diff line in the editor while the commit-message panel is in front), the way the wheel already scrolls it. 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 | ||