components

package
v0.0.0-...-8a942f9 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateViewport

func CreateViewport(
	windowHeight int,
	windowWidth int,
	verticalMarginHeight int,
	headerHeight int,
	contentComponent string,
) viewport.Model

func RenderContent

func RenderContent(content []parser.Line, enabledCols []string, selectedLine int) string

func RenderDetailedContent

func RenderDetailedContent(content []parser.Line, filteredContent []parser.Line, selectedLine int) string

func RenderFooter

func RenderFooter(
	contentLength int,
	filteredContentLength int,
	scrollPercent float64,
	viewportWidth int,
) string

func RenderHeader

func RenderHeader(
	textInputComponent string,
	viewportWidth int,
) string

func RenderLine

func RenderLine(viewportWidth int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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