Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Red = lipgloss.Color("9") //Purple = lipgloss.Color("13") Purple = lipgloss.Color("93") Cyan = lipgloss.Color("14") Yellow = lipgloss.Color("11") White = lipgloss.Color("252") Grey = lipgloss.Color("245") ErrorStyle = lipgloss.NewStyle().Foreground(Red) WarningStyle = lipgloss.NewStyle().Foreground(Yellow) BracketStyle = lipgloss.NewStyle().Foreground(Cyan) RocksetStyle = lipgloss.NewStyle().Foreground(Purple) )
View Source
var ( R = Bracketed("R") Rockset = Bracketed("Rockset") Prompt = R + "> " ContinuationPrompt = BracketStyle.Render(">") + RocksetStyle.Render(">") + "> " )
Functions ¶
Types ¶
type InputConfig ¶ added in v0.0.10
type InputConfig struct { Prompt string Placeholder string Validate textinput.ValidateFunc }
type ProgressModel ¶
type ProgressModel struct {
// contains filtered or unexported fields
}
func NewTimeProgress ¶
func NewTimeProgress(d time.Duration) *ProgressModel
func (*ProgressModel) Error ¶
func (m *ProgressModel) Error() error
func (ProgressModel) Init ¶
func (m ProgressModel) Init() tea.Cmd
func (ProgressModel) View ¶
func (m ProgressModel) View() string
type Selector ¶
type Selector struct { Selected int // contains filtered or unexported fields }
func NewSelector ¶
Click to show internal directories.
Click to hide internal directories.