Documentation
¶
Index ¶
- Variables
- func CreateTextArea(existing *textarea.Model) textarea.Model
- func NewEditorCmp(app *app.App) tea.Model
- func NewMessagesCmp(app *app.App) tea.Model
- func NewSidebarCmp(app *app.App) tea.Model
- type DeleteAttachmentKeyMaps
- type EditorKeyMaps
- type MessageKeys
- type SendMsg
- type ToggleToolMessagesMsg
Constants ¶
This section is empty.
Variables ¶
View Source
var DeleteKeyMaps = DeleteAttachmentKeyMaps{ AttachmentDeleteMode: key.NewBinding( key.WithKeys("ctrl+r"), key.WithHelp("ctrl+r+{i}", "delete attachment at index i"), ), Escape: key.NewBinding( key.WithKeys("esc"), key.WithHelp("esc", "cancel delete mode"), ), DeleteAllAttachments: key.NewBinding( key.WithKeys("r"), key.WithHelp("ctrl+r+r", "delete all attchments"), ), }
Functions ¶
Types ¶
type DeleteAttachmentKeyMaps ¶
type EditorKeyMaps ¶
type MessageKeys ¶
type SendMsg ¶
type SendMsg struct { Text string Attachments []message.Attachment }
type ToggleToolMessagesMsg ¶
type ToggleToolMessagesMsg struct{}
Click to show internal directories.
Click to hide internal directories.