styling

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSequence

func NewSequence(seq ...sgr.Command) string

Types

type Setting

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

func NewSetting

func NewSetting(pattern string, style Style) Setting

func (Setting) Apply

func (s Setting) Apply(line string) string

type Style

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

func NewStyle

func NewStyle(intro, outro string) Style

func (Style) Apply

func (s Style) Apply(line string) string

Jump to

Keyboard shortcuts

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