mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-06 05:57:38 -04:00
The loading state is set when a command task is asked for, and cleared when a command task reaches the end of its input, whichever task that is. A task that is stopped before then doesn't clear it, so a message that replaces the task leaves the view loading. And a task that was asked for earlier clears the state that a later one has set. Count the view as loading only while the task asked for last is a command task that is still reading its input. When a task reaches the end of its input, let it end the loading only if it is that task. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>