Documentation ¶
Index ¶
- type CopyDone
- type Model
- func (m *Model) Activate()
- func (m Model) FullHelp() [][]key.Binding
- func (m Model) IsActive() bool
- func (m *Model) SetSize(h, v int)
- func (m Model) ShortHelp() []key.Binding
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m Model) UpdateMessage(msg NotificationMsg) Model
- func (m Model) View() string
- type NotificationKeyMap
- type NotificationLevel
- type NotificationMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (Model) UpdateMessage ¶
func (m Model) UpdateMessage(msg NotificationMsg) Model
type NotificationKeyMap ¶
type NotificationLevel ¶
type NotificationLevel int
const ( INFO NotificationLevel = iota WARNING ERROR )
type NotificationMsg ¶
type NotificationMsg struct { Message string Level NotificationLevel }
Click to show internal directories.
Click to hide internal directories.