Documentation
¶
Overview ¶
Package textsearch implements a repository-wide text search overlay.
Index ¶
Constants ¶
View Source
const (
DefaultMaxResults = 200
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TextSearch ¶
TextSearch is an overlay panel for repository-wide text search.
func New ¶
func New(root string, th *theme.Theme) *TextSearch
New creates a text search overlay rooted at root.
func (*TextSearch) Init ¶
func (ts *TextSearch) Init(_ context.Context) tea.Cmd
Init implements panels.Panel.
func (*TextSearch) KeyBindings ¶
func (ts *TextSearch) KeyBindings() []panels.KeyBinding
KeyBindings implements panels.Panel.
func (*TextSearch) View ¶
func (ts *TextSearch) View(width, height int) string
View implements panels.Panel.
Click to show internal directories.
Click to hide internal directories.