Skip to main content

Module message

Module message 

Source
Expand description

Message types for the Elm Architecture.

Messages are the only way to update the model in bubbletea. All user input, timer events, and custom events are represented as messages.

Structsยง

BatchMsg
Message for batch command execution.
BlurMsg
Message when terminal loses focus.
FocusMsg
Message when terminal gains focus.
InterruptMsg
Message for Ctrl+C interrupt.
Message
A type-erased message container.
QuitMsg
Message to quit the program gracefully.
ResumeMsg
Message when program resumes from suspension.
SequenceMsg
Message for sequential command execution.
SuspendMsg
Message to suspend the program (Ctrl+Z).
WindowSizeMsg
Message containing terminal window size.