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
@@ -1204,8 +1204,8 @@ func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) {
// nuance that makes cursor movement obvious and feel snappy.
newRow, newCol := m.cursorLineNumber(), m.col
if (newRow != oldRow || newCol != oldCol) && m.virtualCursor.Mode() == cursor.CursorBlink {
m.virtualCursor.Blink = false
cmd = m.virtualCursor.BlinkCmd()
m.virtualCursor.IsBlinked = false
cmd = m.virtualCursor.Blink()
}
cmds = append(cmds, cmd)
}