Documentation
¶
Overview ¶
Package space is the spacing scale every frame, pane and card lays out with.
Index ¶
Constants ¶
View Source
const ( // InsetX is the number of blank columns between a vertical line, such as a frame border or a pane divider, and the content beside it. InsetX = 2 // InsetY is the number of blank rows between a horizontal line, such as a frame border or a divider rule, and the content beside it. InsetY = 1 // CompactInsetX replaces InsetX on a narrow terminal. CompactInsetX = 1 // CompactCols is the widest terminal, in columns, that counts as narrow and takes CompactInsetX. CompactCols = 80 // Mark is the number of columns that a pane reserves at its left edge for the selection mark, so text stays put when the mark shows. Mark = 1 // Lead is the column where a pane's text starts: the mark column and one blank column. Lead = 2 // Gap is the number of blank rows between two blocks in a pane. Gap = 1 // Rail is the number of columns a scrollbar takes at a pane's right edge: one blank column and the bar. Rail = 2 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.