screen

package
v0.0.376 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ColorForeground = lipgloss.AdaptiveColor{Light: "16", Dark: "231"}
View Source
var ColorForegroundInverted = lipgloss.AdaptiveColor{Light: "231", Dark: "16"}
View Source
var ColorHighlight = lipgloss.AdaptiveColor{Light: "208", Dark: "203"}
View Source
var ColorSecondary = lipgloss.AdaptiveColor{Light: "242", Dark: "242"}
View Source
var SidebarStyleActiveSelected = lipgloss.NewStyle().Background(ColorHighlight).Foreground(ColorForegroundInverted)
View Source
var SidebarStyleChoice = lipgloss.NewStyle().Foreground(ColorForeground)
View Source
var SidebarStyleInactiveSelected = lipgloss.NewStyle().Background(ColorSecondary).Foreground(ColorForegroundInverted)

Functions

func Start

func Start() error

Types

type Root

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

func (Root) Init

func (m Root) Init() tea.Cmd

func (Root) Update

func (m Root) Update(raw tea.Msg) (tea.Model, tea.Cmd)

func (Root) View

func (m Root) View() string

func (Root) ViewMain added in v0.0.370

func (m Root) ViewMain() string

func (Root) ViewSidebar added in v0.0.370

func (m Root) ViewSidebar() string

Jump to

Keyboard shortcuts

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