app

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Types

type AppModel

type AppModel struct {
	*model.BaseModel

	// components
	FileList  file_list.FileListModel
	FilePanel file_panel.FilePanelModel
	StatusBar status_bar.StatusBarModel
	Dialog    dialog.DialogModel
}

func (*AppModel) Blur

func (m *AppModel) Blur()

func (AppModel) Init

func (m AppModel) Init() tea.Cmd

func (*AppModel) Resize

func (m *AppModel) Resize(width int, height int)

func (AppModel) Update

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

func (AppModel) View

func (m AppModel) View() string

Directories

Path Synopsis
pkgs
全局状态
全局状态

Jump to

Keyboard shortcuts

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