ColumnWidth

sealed class ColumnWidth

Inheritors

Types

Link copied to clipboard
data object Auto : ColumnWidth

The column will fit to the size of its content

Link copied to clipboard
data class Custom(val width: Int?, val expandWeight: Float?, val priority: Int) : ColumnWidth

A column width with custom behavior.

Link copied to clipboard
class Expand(val weight: Float = 1.0f) : ColumnWidth

The column will expand to fill the available terminal width.

Link copied to clipboard
class Fixed(val width: Int) : ColumnWidth

The column will have a fixed width.