Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingField = errors.New("insert failed, Front and Back are mandatory fields")
Functions ¶
func PlaceOverlay ¶
func PlaceOverlay(x, y int, fg, bg string, shadow bool, opts ...WhitespaceOption) string
PlaceOverlay places fg on top of bg.
Types ¶
type AddCardModel ¶
type AddCardModel struct {
// contains filtered or unexported fields
}
func (AddCardModel) Init ¶
func (m AddCardModel) Init() tea.Cmd
func (AddCardModel) View ¶
func (m AddCardModel) View() string
type ListCardsModel ¶
type ListCardsModel struct {
// contains filtered or unexported fields
}
func (ListCardsModel) Init ¶
func (m ListCardsModel) Init() tea.Cmd
func (ListCardsModel) View ¶
func (m ListCardsModel) View() string
type ReviewModel ¶
type ReviewModel struct {
// contains filtered or unexported fields
}
func (ReviewModel) Init ¶
func (m ReviewModel) Init() tea.Cmd
func (ReviewModel) View ¶
func (m ReviewModel) View() string
type WhitespaceOption ¶
type WhitespaceOption func(*whitespace)
WhitespaceOption sets a styling rule for rendering whitespace.
Click to show internal directories.
Click to hide internal directories.