tui

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EditorApp

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

func NewEditorApp

func NewEditorApp(client *api.Client, passphrase []byte, serverName string, autosave bool, debounce time.Duration) *EditorApp

func (*EditorApp) Init

func (a *EditorApp) Init() tea.Cmd

Init loads note

func (*EditorApp) Run

func (a *EditorApp) Run(ctx context.Context) error

Run starts the Bubble Tea program

func (*EditorApp) Update

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

func (*EditorApp) View

func (a *EditorApp) View() string

Jump to

Keyboard shortcuts

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