tui

package
v0.17.9 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Blue

func Blue(s string) string

func Bold

func Bold(s string) string

func Box

func Box(s string) string

func BoxDouble

func BoxDouble(s string) string

func BoxRoundCorner

func BoxRoundCorner(s string) string

func Cyan

func Cyan(s string) string

func DarkGray

func DarkGray(s string) string

func Default

func Default(s string) string

func FormatByIndex

func FormatByIndex(s string, start, end int, fm FontModifier) string

func FormatByText

func FormatByText(s, text string, fm FontModifier) string

func FormattingArea

func FormattingArea(fm FontModifier, f func(*strings.Builder)) string

func Gray

func Gray(s string) string

func Green

func Green(s string) string

func Inverse

func Inverse(s string) string

func Italic

func Italic(s string) string

func LightYellow

func LightYellow(s string) string

func Orange

func Orange(s string) string

func Red

func Red(s string) string

func Strikethrough

func Strikethrough(s string) string

func Underline

func Underline(s string) string

func Yellow

func Yellow(s string) string

Types

type FontModifier

type FontModifier func(s string) string

func Multi

func Multi(fm ...FontModifier) FontModifier

Jump to

Keyboard shortcuts

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