Skip to content

Commit

Permalink
Stopgap solution for frozen inline loading status
Browse files Browse the repository at this point in the history
The 'pushing' status against the branch gets frozen at the end of the
interactive rebase test without this change. I would like to find a way
to fix the problem without having to make this change because it does
look better in demos when everything loads in one frame, which is what
this check was originally for.
  • Loading branch information
jesseduffield committed Mar 17, 2024
1 parent de5e41f commit 1c06d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gui/controllers/helpers/refresh_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (self *RefreshHelper) Refresh(options types.RefreshOptions) error {
// if we're in a demo we don't want any async refreshes because
// everything happens fast and it's better to have everything update
// in the one frame
if !self.c.InDemo() && options.Mode == types.ASYNC {
if options.Mode == types.ASYNC {
self.c.OnWorker(func(t gocui.Task) {
f()
})
Expand Down

0 comments on commit 1c06d67

Please sign in to comment.