Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSpinnerFunc ¶
NewSpinnerFunc creates a new spiner with a given initial message and a function that will be executed in the background in a goroutine. The function can use the provided channel to send message stop the spinner to update the out. When the function returns the spinner will stop and the function will return the error result from the function.
Types ¶
type CommandFinishedMsg ¶
type CommandFinishedMsg struct{}
type CommandView ¶
type CommandView struct {
// contains filtered or unexported fields
}
func NewCommandView ¶
func NewCommandView(handle *commander.Action, back tea.Model) *CommandView
type ListenableWriter ¶
type ListenableWriter struct {
// contains filtered or unexported fields
}
func (*ListenableWriter) Lines ¶
func (w *ListenableWriter) Lines() []string
func (*ListenableWriter) String ¶
func (w *ListenableWriter) String() string
func (*ListenableWriter) WaitUntilContent ¶
func (w *ListenableWriter) WaitUntilContent() WriteEvent
type SearchCtrl ¶
type SearchCtrl struct {
// contains filtered or unexported fields
}
SearchCtrl is the controller/model for the fuzzer finding UI component
func NewSearchCtrl ¶
func NewSearchCtrl(r []repos.Repository, rfs *repofs.RepoFS, cmd *commander.Commander) *SearchCtrl
func (SearchCtrl) ExitMessage ¶
func (s SearchCtrl) ExitMessage() string
func (*SearchCtrl) Selected ¶
func (c *SearchCtrl) Selected() repos.Repository
Selected returns the active selection by the user, or any empty object if no selection has been made OR the active index is out of range.
type SearchView ¶
type SearchView struct {
// contains filtered or unexported fields
}
func NewSearchView ¶
func NewSearchView(ctrl *SearchCtrl) *SearchView
func (*SearchView) Init ¶
func (m *SearchView) Init() tea.Cmd
func (*SearchView) View ¶
func (m *SearchView) View() string
type Spinner ¶
type Spinner struct {
// contains filtered or unexported fields
}
func NewSpinner ¶
type WriteEvent ¶
type WriteEvent struct{}
Click to show internal directories.
Click to hide internal directories.