app

package
v0.2.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Run starts the application

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
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL