1package tea
2
3import "github.com/charmbracelet/colorprofile"
4
5// ColorProfileMsg is a message that describes the terminal's color profile.
6// This message is send to the program's update function when the program is
7// started.
8//
9// To upgrade the terminal color profile, use the `tea.RequestCapability`
10// command to request the `RGB` and `Tc` terminfo capabilities. Bubble Tea will
11// then cache the terminal's color profile and send a `ColorProfileMsg` to the
12// program's update function.
13type ColorProfileMsg struct {
14 colorprofile.Profile
15}