profile.go
This file
Path
profile.go
15 lines · 547 bytes · Go
Last changed by
Merge pull request #1118 from charmbracelet/v2-expAyman Bagabasbefore adoptiond1c8c97
History of this fileTake it
Merge pull request #1118 from charmbracelet/v2-expAyman Bagabasbefore adoptiond1c8c97
lines 1–15why, one step back1package tea23import "github.com/charmbracelet/colorprofile"45// 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 is7// 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 will11// then cache the terminal's color profile and send a `ColorProfileMsg` to the12// program's update function.13type ColorProfileMsg struct {14 colorprofile.Profile15}