Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachmentPreview ¶ added in v1.14.0
AttachmentPreview describes an attachment and its contents for dialog display.
type Editor ¶
type Editor interface {
layout.Model
layout.Sizeable
layout.Focusable
SetWorking(working bool) tea.Cmd
AcceptSuggestion() bool
// Value returns the current editor content
Value() string
// SetValue updates the editor content
SetValue(content string)
Cleanup()
GetSize() (width, height int)
BannerHeight() int
AttachmentAt(x int) (AttachmentPreview, bool)
}
Editor represents an input editor component
Click to show internal directories.
Click to hide internal directories.