Skip to content

Commit 540a3bc

Browse files
committed
feat(ui): update fps
update fps Signed-off-by: mritd <[email protected]>
1 parent ec48bfa commit 540a3bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui_commit_committing.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func newCommittingModel() committingModel {
7474
"( ● ) Committing...",
7575
"(● ) Committing...",
7676
},
77-
FPS: time.Second / 10,
77+
FPS: time.Second / 15,
7878
}
7979
s.Style = lipgloss.NewStyle().Foreground(lipgloss.Color("#19F896")).Bold(true)
8080
return committingModel{spinner: s}
@@ -98,7 +98,7 @@ func (m committingModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
9898
m.spinner, cmd = m.spinner.Update(spinner.Tick())
9999
m.msg = msg
100100
return m, tea.Batch(cmd, func() tea.Msg {
101-
time.Sleep(1500 * time.Millisecond)
101+
time.Sleep(500 * time.Millisecond)
102102
return commit(msg)
103103
})
104104
case error:

0 commit comments

Comments
 (0)