Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Height ¶
type Height uint
Height - vertical size
const HeightZero Height = 0
HeightZero - default value of Height
func MakeHeight ¶
func MakeHeight[T constraints.Integer](v T) Height
MakeHeight constructs Height object
type Width ¶
type Width uint
Width - horizontal size
const ( // WidthZero - default size WidthZero Width = 0 // WidthSpace - space between base columns size WidthSpace Width = 1 // WidthColumn - base column size (fib3) WidthColumn Width = 3 // WidthTab - tab size WidthTab = WidthColumn + WidthSpace // WidthDescriptionColumnShift - min rune len of title for pasting break line WidthDescriptionColumnShift = 2*WidthColumn + 2*WidthSpace )
Click to show internal directories.
Click to hide internal directories.