Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfirmAliasComponent ¶
type ConfirmAliasComponent struct {
// contains filtered or unexported fields
}
func (*ConfirmAliasComponent) Init ¶
func (c *ConfirmAliasComponent) Init() tea.Cmd
func (*ConfirmAliasComponent) View ¶
func (c *ConfirmAliasComponent) View() string
type HistoryItem ¶
type HistoryItem struct {
Command string
}
func NewHistoryItem ¶
func NewHistoryItem(historyEntry string) *HistoryItem
func (HistoryItem) FilterValue ¶
func (h HistoryItem) FilterValue() string
type HistoryItemDelegate ¶
type HistoryItemDelegate struct{}
func (HistoryItemDelegate) Height ¶
func (h HistoryItemDelegate) Height() int
func (HistoryItemDelegate) Spacing ¶
func (h HistoryItemDelegate) Spacing() int
type HistoryItemListComponent ¶
type HistoryItemListComponent struct {
// contains filtered or unexported fields
}
func NewHistoryItemListComponent ¶
func NewHistoryItemListComponent(items []list.Item) *HistoryItemListComponent
func (HistoryItemListComponent) Init ¶
func (h HistoryItemListComponent) Init() tea.Cmd
func (HistoryItemListComponent) View ¶
func (h HistoryItemListComponent) View() string
type SelectionManager ¶ added in v0.4.0
type SelectionManager struct {
// contains filtered or unexported fields
}
func (*SelectionManager) Add ¶ added in v0.4.0
func (r *SelectionManager) Add(item *HistoryItem)
func (*SelectionManager) Contains ¶ added in v0.4.0
func (r *SelectionManager) Contains(item *HistoryItem) bool
func (*SelectionManager) IndexOf ¶ added in v0.4.0
func (r *SelectionManager) IndexOf(item *HistoryItem) int
func (*SelectionManager) Remove ¶ added in v0.4.0
func (r *SelectionManager) Remove(item *HistoryItem)
Click to show internal directories.
Click to hide internal directories.