Skip to main content

Module layout

Module layout 

Source
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 value indented by indentation spaces.
push_line
Append wrapped value and a trailing newline.
terminal_width
Detected TTY width, or COLUMNS when at least 20.
wrap
Wrap value to the terminal width.