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) View ¶
func (m FileExplorer) View() string
Click to show internal directories.
Click to hide internal directories.