ui

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AltScreenOff added in v0.4.0

func AltScreenOff() string

func AltScreenOn added in v0.4.0

func AltScreenOn() string

func ClearToEnd added in v0.4.0

func ClearToEnd() string

func CursorHome added in v0.4.0

func CursorHome() string

ANSI terminal control sequences for TUI rendering

func HideCursor added in v0.4.0

func HideCursor() string

func ShowCursor added in v0.4.0

func ShowCursor() string

Types

type UI

type UI struct{}

func (*UI) Bold

func (u *UI) Bold(s string) string

func (*UI) Cyan

func (u *UI) Cyan(s string) string

func (*UI) Dim

func (u *UI) Dim(s string) string

func (*UI) Errorf

func (u *UI) Errorf(format string, args ...any)

func (*UI) Green

func (u *UI) Green(s string) string

func (*UI) Info

func (u *UI) Info(msg string)

func (*UI) Red

func (u *UI) Red(s string) string

func (*UI) Success

func (u *UI) Success(msg string)

func (*UI) Warn

func (u *UI) Warn(msg string)

func (*UI) Yellow

func (u *UI) Yellow(s string) string

Jump to

Keyboard shortcuts

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