writenote

package
v0.0.0-...-346da1c Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const MaxLetters = 150

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	Textarea textarea.Model
	Err      util.ErrMsg
	// contains filtered or unexported fields
}

func InitialNote

func InitialNote(contentWidth int, userId uuid.UUID) Model

func (Model) CharCount

func (m Model) CharCount() int

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

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

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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