mirror of
https://github.com/zoriya/bubbles.git
synced 2026-08-16 01:43:21 +00:00
chore: fix lint warning
This commit is contained in:
@@ -653,7 +653,7 @@ func (m *Model) deleteWordLeft() {
|
||||
// Linter note: it's critical that we acquire the initial cursor position
|
||||
// here prior to altering it via SetCursor() below. As such, moving this
|
||||
// call into the corresponding if clause does not apply here.
|
||||
oldCol := m.col //nolint:ifshort
|
||||
oldCol := m.col
|
||||
|
||||
m.SetCursor(m.col - 1)
|
||||
for unicode.IsSpace(m.value[m.row][m.col]) {
|
||||
|
||||
Reference in New Issue
Block a user