search

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddMatchingBlock

type AddMatchingBlock uint64

type ApplySearchQueryMsg

type ApplySearchQueryMsg SearchQuery
type Search struct {
	common.Common

	History []SearchQuery

	Current SearchQuery
	// contains filtered or unexported fields
}

func New

func New(c common.Common) *Search

func (*Search) CancelModal

func (s *Search) CancelModal() tea.Cmd

func (*Search) Init

func (s *Search) Init() tea.Cmd

func (*Search) InitInput

func (s *Search) InitInput() tea.Cmd

func (*Search) SetMatchCount

func (s *Search) SetMatchCount(count int)

func (*Search) SetSize

func (s *Search) SetSize(w, h int)

func (*Search) Update

func (s *Search) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Search) View

func (s *Search) View() string

type SearchClearedMsg

type SearchClearedMsg bool

type SearchQuery

type SearchQuery struct {
	Query  string
	JQMode bool
}

type UpdateMatchingBlocks

type UpdateMatchingBlocks map[uint64]bool

Jump to

Keyboard shortcuts

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