homemodel

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: 6 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
	FocusOn      enums.Splits
	FileExplorer *fileexplorer.FileExplorer
	Viewer       *viewer.Viewer
}

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