table

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager handles table creation and updates

func NewManager

func NewManager(theme styles.TableTheme) *Manager

NewManager creates a new table manager

func (*Manager) GetCursor

func (tm *Manager) GetCursor() int

GetCursor returns the current cursor position

func (*Manager) GetTable

func (tm *Manager) GetTable() *table.Model

GetTable returns the underlying table model

func (*Manager) SetSize

func (tm *Manager) SetSize(width, height int)

SetSize updates the table dimensions

func (*Manager) SetTable

func (tm *Manager) SetTable(t *table.Model)

func (*Manager) UpdateRows

func (tm *Manager) UpdateRows(items []history.ClipboardHistory)

UpdateRows updates the table with clipboard history items

func (*Manager) View

func (tm *Manager) View() string

View returns the table view

Jump to

Keyboard shortcuts

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