fileexplorer

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileExplorer

type FileExplorer struct {
	IsFocused     bool
	Width         int
	Height        int
	Root          *filetree.Node
	CurrentNode   *filetree.Node
	CurrentIndex  int
	VisibleNodes  []*filetree.Node
	LastSelection string
	// contains filtered or unexported fields
}

func NewFileExplorer

func NewFileExplorer(w int, h int) *FileExplorer

func (FileExplorer) Init

func (m FileExplorer) Init() tea.Cmd

func (*FileExplorer) Refresh

func (m *FileExplorer) Refresh()

func (*FileExplorer) Resize added in v1.1.2

func (m *FileExplorer) Resize(w int, h int)

func (*FileExplorer) SelectionChanged

func (m *FileExplorer) SelectionChanged(node *filetree.Node) tea.Cmd

func (*FileExplorer) Update

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

func (FileExplorer) View

func (m FileExplorer) View() string

Jump to

Keyboard shortcuts

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