mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
A terminal that supports focus reporting answers with the state it is already in when we turn reporting on, so at startup we were told that we had gained focus that we never lost, and refreshed everything a second time on top of the refresh that loading the repo had just started. The two ran at once, each with its own `git status`, which made both of them slower than the one refresh needed to be. Keep track of what the reports say, then, and pass on only the ones that change it. Assuming that we start out focused costs us nothing when we don't: that same first report says so, so a lazygit started in a window that isn't in front knows it from the start. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| cheatsheet | ||
| commands | ||
| common | ||
| config | ||
| constants | ||
| env | ||
| fakes | ||
| gocui | ||
| gui | ||
| i18n | ||
| integration | ||
| jsonschema | ||
| logs | ||
| snake | ||
| tasks | ||
| theme | ||
| updates | ||
| utils | ||