mirror of
https://github.com/charmbracelet/crush.git
synced 2025-08-02 05:20:46 +03:00
fix: breaks
This commit is contained in:
@@ -249,6 +249,7 @@ func (a *agent) IsBusy() bool {
|
||||
for cancelFunc := range a.activeRequests.Seq() {
|
||||
if cancelFunc != nil {
|
||||
busy = true
|
||||
break
|
||||
}
|
||||
}
|
||||
return busy
|
||||
|
||||
@@ -201,6 +201,7 @@ func (m *sidebarCmp) handleFileHistoryEvent(event pubsub.Event[history.File]) te
|
||||
existing.Deletions = deletions
|
||||
m.files.Set(file.Path, existing)
|
||||
found = true
|
||||
break
|
||||
}
|
||||
if found {
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user