mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-09 14:55:58 +08:00
Remove special nilItem
This commit is contained in:
9 files changed
+49
-51
No files matched your search
+1
-1
@@ -85,7 +85,7 @@ func (result *Result) Index() int32 {
|
||||
}
|
||||
|
||||
func minRank() Result {
|
||||
return Result{item: &nilItem, points: [4]uint16{math.MaxUint16, 0, 0, 0}}
|
||||
return Result{item: &minItem, points: [4]uint16{math.MaxUint16, 0, 0, 0}}
|
||||
}
|
||||
|
||||
func (result *Result) colorOffsets(matchOffsets []Offset, theme *tui.ColorTheme, color tui.ColorPair, attr tui.Attr, current bool) []colorOffset {
|
||||
|
||||
Reference in new issue
Block a user