Documentation ¶ Index ¶ type TUI func New(ctx context.Context, cfg *config.Config, width, height int, userID string, ...) TUI func (t TUI) Init() tea.Cmd func (t TUI) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (t TUI) View() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type TUI ¶ type TUI struct { UserID string Fingerprint string DB db.DB // contains filtered or unexported fields } func New ¶ func New(ctx context.Context, cfg *config.Config, width, height int, userID string, fingerprint string, database db.DB, files []*snips.File) TUI func (TUI) Init ¶ func (t TUI) Init() tea.Cmd func (TUI) Update ¶ func (t TUI) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (TUI) View ¶ func (t TUI) View() string Source Files ¶ View all Source files tui.go Directories ¶ Show internal Expand all Path Synopsis cmds msgs styles views browser code prompt Click to show internal directories. Click to hide internal directories.