browser

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BreakPoint = 80
	Selector   = "→ "
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Browser

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

func New

func New(cfg *config.Config, width, height int, files []*snips.File) Browser

func (Browser) Init

func (bwsr Browser) Init() tea.Cmd

func (Browser) IsOptionsFocused

func (bwsr Browser) IsOptionsFocused() bool

func (Browser) Keys

func (bwsr Browser) Keys() help.KeyMap

func (Browser) Update

func (bwsr Browser) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Browser) View

func (bwsr Browser) View() string

Jump to

Keyboard shortcuts

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