session

package
v0.0.0-...-0ca590b Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LoadStoreState = iota
	BrowseState
	ErrorState
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	*common.Model
	// contains filtered or unexported fields
}

model represents the application state.

func New

func New(store *file.SessionFileStore, programPath, input string) *Model

initialModel initializes the application model.

func (*Model) Init

func (m *Model) Init() tea.Cmd

func (*Model) Update

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

Jump to

Keyboard shortcuts

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