Versions in this module Expand all Collapse all v0 v0.1.0 Apr 6, 2025 Changes in this version + type BookmarkForm struct + func NewBookmarkForm(createFunc func(bookmark *models.Bookmark)) *BookmarkForm + func (n *BookmarkForm) Blur() + func (n *BookmarkForm) Clear() + func (n *BookmarkForm) Draw(screen tcell.Screen) + func (n *BookmarkForm) Focus(delegate func(p tview.Primitive)) + func (n *BookmarkForm) GetFocusable() tview.Focusable + func (n *BookmarkForm) GetRect() (int, int, int, int) + func (n *BookmarkForm) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive)) + func (n *BookmarkForm) SetDoneFunc(doneFunc func()) + func (n *BookmarkForm) SetRect(x, y, width, height int) + func (n *BookmarkForm) SetSearchFunc(search func(key, value string) ([]string, error)) + func (n *BookmarkForm) SetVisible(visible bool) + type DeleteBookmark struct + func NewDeleteBookmark(doneFunc func(bool), bookmark *models.Bookmark) *DeleteBookmark + func (d *DeleteBookmark) SetDoneFunc(doneFunc func()) + func (d *DeleteBookmark) SetVisible(visible bool) + type Help struct + func NewHelp() *Help + func (h *Help) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive)) + func (h *Help) SetDoneFunc(doneFunc func()) + func (h *Help) SetVisible(visible bool) + func (h *Help) Update(stats *storage.Statistics) + type ImportData struct + File string + MapFoldersProjects bool + Tags []string + type ImportForm struct + func NewImportForm() *ImportForm + func (i *ImportForm) ImportDone(count int, msg string, ok bool) + func (i *ImportForm) Reset() + func (i *ImportForm) SetCreateFunc(importFunc func(data *ImportData)) + func (i *ImportForm) SetDoneFunc(doneFunc func()) + func (i *ImportForm) SetVisible(visible bool) + type Menu struct + func NewMenu() *Menu + func (m *Menu) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive)) + func (m *Menu) SetActionFunc(doneFunc func(action MenuAction)) + func (m *Menu) SetDoneFunc(doneFunc func()) + func (m *Menu) SetVisible(visible bool) + type MenuAction int + const MenuActionExport + const MenuActionImport + const MenuActionModify + const MenuActionNone + type Modify struct + func NewModify(...) *Modify + func (m *Modify) SetDoneFunc(doneFunc func()) + func (m *Modify) SetVisible(visible bool)