tableTui

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TableConfig

type TableConfig struct {
	Columns []table.Column
	Rows    []table.Row
	Focused bool
	Height  int
}

func (*TableConfig) ReturnTable

func (c *TableConfig) ReturnTable() table.Model

type TableModel

type TableModel struct {
	Table table.Model
}

func NewTableModel

func NewTableModel(t table.Model) *TableModel

func (TableModel) Init

func (m TableModel) Init() tea.Cmd

func (TableModel) Update

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

func (TableModel) View

func (m TableModel) View() string

Jump to

Keyboard shortcuts

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