Documentation
¶
Index ¶
- Constants
- func Help(page int) string
- func JustifyBetween(j Justify) string
- func Notification(content string, w int, h int, fg lipgloss.Color, bg lipgloss.Color) string
- func Overlay(bg, overlay string, row, col int, ignoreMarginWhitespace bool) (string, error)
- func OverlayCenter(bg string, overlay string, ignoreMarginWhitespace bool) (string, error)
- type Justify
- type Keypair
- type Modal
- type ModalConfig
- type ModalSubmit
- type Selection
- type SltModal
- type SltModalConfig
- type SltModalDelete
- type SltModalSubmit
- type SltModalToggle
Constants ¶
View Source
const ( HelpModes int = iota HelpActions HelpCommands )
View Source
const ( RightBar rune = 0x2595 LeftBar rune = 0x258F )
View Source
const Circle string = "\u29BF"
View Source
const HelpWidth int = 49
Variables ¶
This section is empty.
Functions ¶
func JustifyBetween ¶
func Notification ¶
Types ¶
type Modal ¶
type Modal struct {
Active bool
Config ModalConfig
Input textinput.Model
}
func NewModal ¶
func NewModal(config ModalConfig, initial string) Modal
type ModalConfig ¶
type ModalSubmit ¶
type SltModal ¶
type SltModal struct {
Config SltModalConfig
Active bool
Current int
Slt Selection
// contains filtered or unexported fields
}
func NewSltModal ¶
func NewSltModal(config SltModalConfig) SltModal
type SltModalConfig ¶
type SltModalDelete ¶
type SltModalToggle ¶
Click to show internal directories.
Click to hide internal directories.