Text
March 28, 2026 · View on GitHub
Multi-line scrollable text display.
Constructor: NewText(id, class string, content []string, follow bool, max int) *Text
Methods
Add(lines ...string)— appends lines; rotates oldest when max is setClear()— removes all contentSet(content []string)— replaces all content
Notes
follow=true— auto-scrolls to newest contentmax=N— limits total lines to N (oldest are discarded)