Documentation
¶
Index ¶
- Constants
- func ClearLine()
- func ClearScreen()
- func DrawColorBar(percent float64, width int) string
- func DrawMemoryBar(percent float64, width int) string
- func HideCursor()
- func MoveCursor(row, col int)
- func RenderCPU(row *int)
- func RenderFooter(row *int)
- func RenderGPU(row *int)
- func RenderHeader(row *int)
- func RenderMemory(row *int)
- func RenderProcessTable(row *int)
- func RenderSystemInfo(row *int)
- func Repeat(s string, count int) string
- func ShowCursor()
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 ClearScreen ¶
func ClearScreen()
func DrawColorBar ¶
func DrawMemoryBar ¶
func HideCursor ¶
func HideCursor()
func MoveCursor ¶
func MoveCursor(row, col int)
func RenderFooter ¶
func RenderFooter(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 ShowCursor ¶
func ShowCursor()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.