header_model

package
v0.0.0-...-00ef510 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeaderModel

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

HeaderModel contains page header row

func NewHeaderModel

func NewHeaderModel(appName coty.NameApp, sizeTerminal ts.TerminalSize) *HeaderModel

NewHeaderModel constructs HeaderModel

func (*HeaderModel) GetViewRow

func (hm *HeaderModel) GetViewRow() row.Row

GetViewRow returns header cell slice and actionSequence to display text in the page center

func (*HeaderModel) Update

func (hm *HeaderModel) Update(termSize ts.TerminalSize)

Update processes changed terminal dynamic_row size page and updates getting header cell slice

Jump to

Keyboard shortcuts

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