common

package
v0.0.0-...-43a5738 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColorFg

func ColorFg(val, color string) string

Color a string's foreground with the given value.

func Frame

func Frame() tea.Cmd

func MakeFgStyle

func MakeFgStyle(color string) func(string) string

Return a function that will colorize the foreground of a given string.

func Tick

func Tick() tea.Cmd

Types

type TickMsg

type TickMsg struct{}

Jump to

Keyboard shortcuts

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