filepicker

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	Width  int
	Height int
	// contains filtered or unexported fields
}

func New

func New(path string) Model

func (*Model) Filtering

func (m *Model) Filtering() bool

Filtering reports whether the filepicker is in filter mode.

func (Model) Init

func (m Model) Init() tea.Cmd

func (*Model) Initialized

func (m *Model) Initialized() bool

Initialized reports whether the filepicker has been initialized with a path.

func (*Model) SelectedFiles

func (m *Model) SelectedFiles() []string

SelectedFiles returns the paths of all selected files in the tree.

func (Model) Update

func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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