Documentation
¶
Overview ¶
Package notify provides the shell-owned notification (status line) system: severity-styled, auto-expiring, deduplicated transient messages rendered in the footer area. It unifies core.NotificationMsg, core.StatusMsg and shared.UIError into a single stream.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager holds the active notifications. It is owned by the root model.
func (*Manager) Dismiss ¶
func (m *Manager) Dismiss()
Dismiss clears all notifications (manual dismiss key).
func (*Manager) HandleMsg ¶
HandleMsg intercepts notification-bearing messages. It returns a command and whether the message was a notification (already consumed here).
Click to show internal directories.
Click to hide internal directories.