blocksearch

package
v1.1.22 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyBlockSearchQueryMsg

type ApplyBlockSearchQueryMsg SearchQuery

type BlockSearch

type BlockSearch struct {
	common.Common

	History []string

	Current string
	// contains filtered or unexported fields
}

func New

func New(c common.Common) *BlockSearch

func (*BlockSearch) CheckValidQuery

func (s *BlockSearch) CheckValidQuery() (uint64, error)

func (*BlockSearch) Init

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

func (*BlockSearch) InitInput

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

func (*BlockSearch) SetMatchCount

func (s *BlockSearch) SetMatchCount(count int)

func (*BlockSearch) SetSize

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

func (*BlockSearch) Update

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

func (*BlockSearch) View

func (s *BlockSearch) View() string

type SearchQuery

type SearchQuery string

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