ui

package
v2.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Reset  = "\033[0m"
	Red    = "\033[31m"
	Green  = "\033[32m"
	Yellow = "\033[33m"
	Blue   = "\033[34m"
	Purple = "\033[35m"
	Cyan   = "\033[36m"
	White  = "\033[37m"
	Bold   = "\033[1m"
)

Variables

This section is empty.

Functions

func ClearLine

func ClearLine()

func ClearScreen

func ClearScreen()

func DrawColorBar

func DrawColorBar(percent float64, width int) string

func DrawMemoryBar

func DrawMemoryBar(percent float64, width int) string

func HideCursor

func HideCursor()

func MoveCursor

func MoveCursor(row, col int)

func RenderCPU

func RenderCPU(row *int)

func RenderFooter

func RenderFooter(row *int)

func RenderGPU

func RenderGPU(row *int)

func RenderHeader

func RenderHeader(row *int)

func RenderMemory

func RenderMemory(row *int)

func RenderProcessTable

func RenderProcessTable(row *int)

func RenderSystemInfo

func RenderSystemInfo(row *int)

func Repeat

func Repeat(s string, count int) string

func ShowCursor

func ShowCursor()

Types

This section is empty.

Jump to

Keyboard shortcuts

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