ui

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2025 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddModel

type AddModel struct {
	// contains filtered or unexported fields
}

func NewAddModel

func NewAddModel(store *note.Store) AddModel

func (AddModel) Init

func (m AddModel) Init() tea.Cmd

func (AddModel) Update

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

func (AddModel) View

func (m AddModel) View() string

type ManagerModel

type ManagerModel struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(store *note.Store) *ManagerModel

func (ManagerModel) Init

func (m ManagerModel) Init() tea.Cmd

func (ManagerModel) Update

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

func (ManagerModel) View

func (m ManagerModel) View() string

type NoteModel

type NoteModel struct {
	// contains filtered or unexported fields
}

func NewNoteModel

func NewNoteModel(store *note.Store, width, height int) NoteModel

func (NoteModel) Init

func (m NoteModel) Init() tea.Cmd

func (NoteModel) Update

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

func (NoteModel) View

func (m NoteModel) View() string

Jump to

Keyboard shortcuts

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