Adjust spinner thresholds and timing so stashing feels snappier

This commit is contained in:
Christian Rocha 2020-12-14 15:44:03 -05:00
commit 53155f1e16

View file

@ -420,8 +420,8 @@ func newStashModel(common *commonModel) stashModel {
sp := spinner.NewModel()
sp.Spinner = spinner.Line
sp.ForegroundColor = lib.SpinnerColor.String()
sp.HideFor = time.Millisecond * 50
sp.MinimumLifetime = time.Millisecond * 250
sp.HideFor = time.Millisecond * 100
sp.MinimumLifetime = time.Millisecond * 180
sp.Start()
ni := textinput.NewModel()