Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSearchContext ¶ added in v0.11.0
func NewSearchContext() searchContext
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func NewApp ¶
func NewApp(win IWindow[projects.Project], manager plugins.PluginManager, controller plugins.PluginsController, options AppOptions) *App
type AppOptions ¶ added in v0.10.1
type AppOptions struct {
EnterCommand string
}
type IWindow ¶
type IWindow[T ui.Croppable] interface { SetTitle(title string) SetPreview(preview string) SetEntries(entries *[]T) GetFocusedEntry() (*T, error) UpdateWith(f func()) OnCommand(func(command string, args ...string)) OnInputChanged(func(input string, entries []T)) OnAutocomplete(func(input string) string) OnEntryFocused(func(T)) OnEntrySelected(func(T)) Run() error }
type SearchApp ¶ added in v0.11.0
type SearchApp struct {
// contains filtered or unexported fields
}
func NewSearchApp ¶ added in v0.11.0
func NewSearchApp(window IWindow[plugins.ProjectSearchResult], projects []projects.Project, pluginsManager plugins.PluginManager) *SearchApp
Click to show internal directories.
Click to hide internal directories.