app

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: MIT Imports: 16 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 or git.Branch)
	IsCurrent      bool        // For git branch (icon logic)
	IsRemote       bool        // For git branch (icon logic)
	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
)

Jump to

Keyboard shortcuts

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