Help us shape the future of Go! Take the 2026 Go Developer Survey

bookmark_ui

package
v0.0.0-...-63b292e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BookmarkCmd

func BookmarkCmd(paths []string) tea.Cmd

func UnbookmarkCmd

func UnbookmarkCmd(paths []string) tea.Cmd

Types

type BookmarkMsg

type BookmarkMsg struct {
	// contains filtered or unexported fields
}

func (BookmarkMsg) Paths

func (m BookmarkMsg) Paths() []string

type Bookmarks

type Bookmarks struct {
	focus.FocusField
	// contains filtered or unexported fields
}

func NewBookmarks

func NewBookmarks(quierier *bookmarks.Querier, pinIcon rune, hidden bool, doubleClickDelay int) *Bookmarks

func (*Bookmarks) Hide

func (m *Bookmarks) Hide()

func (*Bookmarks) Init

func (m *Bookmarks) Init() tea.Cmd

func (*Bookmarks) SetHeight

func (m *Bookmarks) SetHeight(h int)

func (*Bookmarks) SetRows

func (m *Bookmarks) SetRows()

func (*Bookmarks) SetWidth

func (m *Bookmarks) SetWidth(w int)

func (*Bookmarks) Show

func (m *Bookmarks) Show()

func (*Bookmarks) Update

func (m *Bookmarks) Update(msg tea.Msg) (*Bookmarks, tea.Cmd)

func (*Bookmarks) View

func (m *Bookmarks) View() string

type UnbookmarkMsg

type UnbookmarkMsg struct {
	// contains filtered or unexported fields
}

func (UnbookmarkMsg) Paths

func (m UnbookmarkMsg) Paths() []string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL