Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessScopeInput ¶
func ProcessScopeInput(value string, saver ScopeSaver) (int64, error)
Types ¶
type ScopeKeymap ¶
type ScopeKeymap struct{}
func (ScopeKeymap) FullHelp ¶
func (k ScopeKeymap) FullHelp() [][]key.Binding
func (ScopeKeymap) ShortHelp ¶
func (k ScopeKeymap) ShortHelp() []key.Binding
type ScopeModel ¶
type ScopeModel struct {
Input textinput.Model
Help help.Model
Keymap ScopeKeymap
ErrorMessage string // User-facing error message
}
func NewScopeModel ¶
func NewScopeModel(entry, selectedType string, store *store.Store) ScopeModel
func (ScopeModel) GetValue ¶
func (m ScopeModel) GetValue() string
func (ScopeModel) Init ¶
func (m ScopeModel) Init() tea.Cmd
func (ScopeModel) View ¶
func (m ScopeModel) View() string
Click to show internal directories.
Click to hide internal directories.