mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
Honor the spinner rate configurate with sync spinner
This commit is contained in:
parent
164f7da33d
commit
79727f1780
|
|
@ -111,7 +111,7 @@ func (self *AppStatusHelper) renderAppStatus() {
|
|||
|
||||
func (self *AppStatusHelper) renderAppStatusSync(stop chan struct{}) {
|
||||
go func() {
|
||||
ticker := time.NewTicker(time.Millisecond * 50)
|
||||
ticker := time.NewTicker(time.Millisecond * time.Duration(self.c.UserConfig().Gui.Spinner.Rate))
|
||||
defer ticker.Stop()
|
||||
|
||||
// Forcing a re-layout and redraw after we added the waiting status;
|
||||
|
|
|
|||
Loading…
Reference in a new issue