frame

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FrameTitle

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

Frame is a frame that appears in the

func NewFrameTitle

func NewFrameTitle(header string, active bool, style Style) FrameTitle

func (FrameTitle) HeaderHeight

func (f FrameTitle) HeaderHeight() int

func (*FrameTitle) Resize

func (f *FrameTitle) Resize(w, h int)

func (*FrameTitle) SetTitle

func (f *FrameTitle) SetTitle(title string)

func (FrameTitle) View

func (f FrameTitle) View() string

type Style

type Style struct {
	ActiveTitle   lipgloss.Style
	InactiveTitle lipgloss.Style
}

Jump to

Keyboard shortcuts

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