queryinput

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bubble

type Bubble struct {
	Styles Styles
	// contains filtered or unexported fields
}

func New

func New(jqtheme theme.Theme) Bubble

func (Bubble) GetInputValue

func (b Bubble) GetInputValue() string

func (Bubble) Init

func (Bubble) Init() tea.Cmd

func (*Bubble) RotateHistory added in v0.4.0

func (b *Bubble) RotateHistory()

func (*Bubble) SetBorderColor

func (b *Bubble) SetBorderColor(color lipgloss.TerminalColor)

func (*Bubble) SetQuery added in v0.7.0

func (b *Bubble) SetQuery(query string)

func (*Bubble) SetWidth

func (b *Bubble) SetWidth(width int)

func (Bubble) Update

func (b Bubble) Update(msg tea.Msg) (Bubble, tea.Cmd)

func (Bubble) View

func (b Bubble) View() string

type Styles

type Styles struct {
	// contains filtered or unexported fields
}

func DefaultStyles

func DefaultStyles() (s Styles)

Jump to

Keyboard shortcuts

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