Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Pink100 = "#F2B3E8" Pink200 = "#8C3A87" Pink300 = "#BD54BF" Purple = "#432D59" Indigo = "#4A2B8C" NormalTabBorderColor = lipgloss.Color("#bbb") ActiveTabBorderColor = lipgloss.Color(Pink300) )
View Source
var ( NormalFocusModes = []FocusPane{SettingsType, SessionsType, PromptType, ChatMessagesType} ZenFocusModes = []FocusPane{PromptType, ChatMessagesType} )
View Source
var MotivationalMessage = lipgloss.NewStyle().
PaddingLeft(1).
Render("There's something scary about a blank canvas...that's why I'm here 😄!")
Functions ¶
func MakeErrorMsg ¶
func MakeFocusMsg ¶
func MakeWindowResizeMsg ¶
Types ¶
type ErrorEvent ¶
type ErrorEvent struct {
Message string
}
type FocusEvent ¶
type FocusEvent struct {
IsFocused bool
}
type FocusPane ¶
type FocusPane int
fake enum to keep tab of the currently focused pane
func GetNewFocusMode ¶
type OurWindowResize ¶
type OurWindowResize struct {
Width int
}
Click to show internal directories.
Click to hide internal directories.