Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Item ¶
type Item struct {
Text string
Index int // Index in the original source slice
Original interface{} // The original object (history.Entry, git.Branch, or files.Entry)
IsCurrent bool // For git branch (icon logic)
IsRemote bool // For git branch (icon logic)
IsDir bool // For files (directory indicator)
MatchedIndexes []int // Indexes of matched characters for highlighting
}
Item represents a search result item
type SearchMode ¶
type SearchMode int
SearchMode represents the current search mode
const ( ModeHistory SearchMode = iota ModeGitBranch ModeFiles )
Click to show internal directories.
Click to hide internal directories.