homemodel

package
v2.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HomeModel

type HomeModel struct {
	Width        int
	Height       int
	ShowFinder   bool
	FocusOn      enums.Splits
	FileExplorer *fileexplorer.FileExplorer
	Viewer       *viewer.Viewer
	Keymap       keymap.HomeKeyMap
	Finder       fzf.FuzzyFinder
	Help         help.Model
}

func NewHome

func NewHome(w int, h int) *HomeModel

func (HomeModel) Init

func (m HomeModel) Init() tea.Cmd

func (*HomeModel) Update

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

func (HomeModel) View

func (m HomeModel) View() string

Jump to

Keyboard shortcuts

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