style

package
v0.0.0-...-0cbbf0d Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stylable

type Stylable interface {
	Style(string) tcell.Style
	SetStylesheet(Stylesheet)
	Stylesheet() Stylesheet
}

type Styled

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

Styled implements Stylable

func (*Styled) SetStylesheet

func (w *Styled) SetStylesheet(stylesheet Stylesheet)

func (*Styled) Style

func (w *Styled) Style(s string) tcell.Style

func (*Styled) Stylesheet

func (w *Styled) Stylesheet() Stylesheet

type Stylesheet

type Stylesheet map[string]tcell.Style

Jump to

Keyboard shortcuts

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