Expand description
Terminal width helpers for help tables. Terminal width helpers for help tables.
Functionsยง
- constrain
- Cap a table at the terminal width when known.
- push_
indented - Append wrapped
valueindented byindentationspaces. - push_
line - Append wrapped
valueand a trailing newline. - terminal_
width - Detected TTY width, or
COLUMNSwhen at least 20. - wrap
- Wrap
valueto the terminal width.