chore!(cursor): improve naming around 'blinking'

This commit is contained in:
Christian Rocha
2025-05-26 09:15:38 -04:00
parent 0f113d10c4
commit e89dc94c85
4 changed files with 24 additions and 27 deletions
+2 -2
View File
@@ -671,8 +671,8 @@ func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) {
// If the cursor position changed, reset the blink state. This is a
// small UX nuance that makes cursor movement obvious and feel snappy.
if oldPos != m.pos && m.virtualCursor.Mode() == cursor.CursorBlink {
m.virtualCursor.Blink = false
cmds = append(cmds, m.virtualCursor.BlinkCmd())
m.virtualCursor.IsBlinked = false
cmds = append(cmds, m.virtualCursor.Blink())
}
}