mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
Add SpinnerConfig
This new config section allows to customize frames and rate of thespinner
This commit is contained in:
committed by
Stefan Haller
parent
53f0c4aeff
commit
f3dba743f0
@ -105,7 +105,7 @@ func (self *InlineStatusHelper) start(opts InlineStatusOpts) {
|
||||
self.contextsWithInlineStatus[opts.ContextKey] = info
|
||||
|
||||
go utils.Safe(func() {
|
||||
ticker := time.NewTicker(time.Millisecond * utils.LoaderAnimationInterval)
|
||||
ticker := time.NewTicker(time.Millisecond * time.Duration(self.c.UserConfig.Gui.Spinner.Rate))
|
||||
defer ticker.Stop()
|
||||
outer:
|
||||
for {
|
||||
|
Reference in New Issue
Block a user