Documentation
¶
Overview ¶
Package tui provides the default Overmind terminal screen.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(ctx context.Context, listNotes ListNotesFunc, reindex ReindexFunc, deleteNote DeleteNoteFunc) error
Run opens the interactive menu and loads notes through the supplied query.
Types ¶
type DeleteNoteFunc ¶ added in v0.3.0
type DeleteNoteFunc func(context.Context, app.DeleteNoteCommand) (app.DeleteNoteResult, error)
type ListNotesFunc ¶ added in v0.3.0
type ListNotesFunc func(context.Context, app.ListNotesQuery) (app.ListNotesResult, error)
ListNotesFunc lets the TUI query notes through a local or remote client.
type ReindexFunc ¶ added in v0.3.0
type ReindexFunc func(context.Context, app.ReindexCommand) (app.ReindexResult, error)
Click to show internal directories.
Click to hide internal directories.