mirror of
https://github.com/charmbracelet/crush.git
synced 2025-08-02 05:20:46 +03:00
chore: lint
This commit is contained in:
@@ -265,7 +265,7 @@ func (f *filterableList[T]) Filter(query string) tea.Cmd {
|
||||
matchedItems = append(matchedItems, item)
|
||||
}
|
||||
|
||||
if f.list.direction == DirectionBackward {
|
||||
if f.direction == DirectionBackward {
|
||||
slices.Reverse(matchedItems)
|
||||
}
|
||||
|
||||
|
||||
@@ -846,7 +846,6 @@ func (l *list[T]) SelectItemAbove() tea.Cmd {
|
||||
cmds = append(cmds, cmd)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
item, ok := l.items.Get(newIndex)
|
||||
if !ok {
|
||||
|
||||
Reference in New Issue
Block a user