Skip to content

Commit

Permalink
Hack: indent waiting status by one space to avoid glitch
Browse files Browse the repository at this point in the history
This solves the problem that after a WithWaitingStatusSync ends, the first
letter of the status remains on screen. There is probably a cleaner solution for
this that I don't see right now; but then I also do think that it looks better
when indented like this.
  • Loading branch information
stefanhaller committed Aug 28, 2023
1 parent 4a820dd commit 3fc5e15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gui/status/status_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (self *StatusManager) GetStatusString() string {
}
topStatus := self.statuses[0]
if topStatus.statusType == "waiting" {
return topStatus.message + " " + utils.Loader()
return " " + topStatus.message + " " + utils.Loader()
}
return topStatus.message
}
Expand Down

0 comments on commit 3fc5e15

Please sign in to comment.