termWidth

expect fun termWidth(): Int(source)

Gets the width of the terminal in columns.

Used for formatting help text and ensuring proper line wrapping. Falls back to DEFAULT_TERM_WIDTH if terminal width cannot be determined.

Return

The terminal width in columns

actual fun termWidth(): Int
actual fun termWidth(): Int