bookmarkeditor

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package bookmarkeditor is a TUI component for editing vault bookmarks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloseMsg

type CloseMsg struct{}

CloseMsg is dispatched when the editor is closed without changes.

type DeleteMsg

type DeleteMsg struct {
	Removed []string
}

DeleteMsg is dispatched when the user confirms removal of selected bookmarks.

type Model

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

Model is the bookmark editor component.

func New

func New(lines []string, w, h int) Model

New creates a bookmark editor pre-populated with the given relative paths.

func (Model) Update

func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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