ui

package
v0.0.0-...-93e2805 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EditorKeys

type EditorKeys struct {
	Save        key.Binding
	Quit        key.Binding
	SwitchInput key.Binding
}

func (EditorKeys) FullHelp

func (k EditorKeys) FullHelp() [][]key.Binding

func (EditorKeys) ShortHelp

func (k EditorKeys) ShortHelp() []key.Binding

type EditorModel

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

func NewEditorModel

func NewEditorModel(currentName string, currentDescription string) EditorModel

func (EditorModel) Description

func (m EditorModel) Description() string

func (EditorModel) HasUpdate

func (m EditorModel) HasUpdate() bool

func (EditorModel) Init

func (m EditorModel) Init() tea.Cmd

func (EditorModel) Name

func (m EditorModel) Name() string

func (EditorModel) Update

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

func (EditorModel) View

func (m EditorModel) View() string

Jump to

Keyboard shortcuts

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