functions

MaxLines
Edited: Sunday 25 January 2026

MaxLines

Category: Utilities
File: theme.go
Package: ui

Signature

1func MaxLines(i int) Wrapper

Description

Documentation pending. Contributions welcome!

Examples

MaxLines

1{
2	truncated := MaxLines(2)(Label("Long text that will be truncated after two lines"))
3	_ = truncated
4}

Example Output


This documentation is auto-generated. To update, run make docs