Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FgGreen = lipgloss.NewStyle().Foreground(lipgloss.Color("#00FF00")) FgWhite = lipgloss.NewStyle().Foreground(lipgloss.Color("#FFFFFF")) FgRed = lipgloss.NewStyle().Foreground(lipgloss.Color("#FF0000")) FgCyan = lipgloss.NewStyle().Foreground(lipgloss.Color("#00B2FF")) FgBlue = lipgloss.NewStyle().Foreground(lipgloss.Color("#1E90FF")) FgHiBlack = lipgloss.NewStyle().Foreground(lipgloss.Color("#A9A9A9")) )
Functions ¶
func LoadingPromptMessage ¶ added in v1.0.5
func PromptMessage ¶ added in v1.0.5
func PromptMessage(contentText string, mode PromptMessageMode) string
Types ¶
type PromptMessageMode ¶ added in v1.0.5
type PromptMessageMode int
const ( SuccessMode PromptMessageMode = iota // 成功 ErrorMode // 错误 DefaultMode // 默认 )
Click to show internal directories.
Click to hide internal directories.