Documentation
¶
Overview ¶
Package ui draws a snapshot. Render is pure: same snapshot, same text. Every line fits Options.Width, truncated with "…", never wrapped. A line is a list of coloured spans; width is counted on the plain text, so escape codes never push a line past the terminal.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatMemory ¶
FormatMemory takes kilobytes: "512 MB", "2.5 GB".
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App is the live screen: collect on a tick, render, scroll.
Click to show internal directories.
Click to hide internal directories.