terminal_table/modifiers

High-level modifications built on composable cell selectors.

Procs

proc align(table: var Table; selector: Selector; alignment: TextAlignment) {.
    ...raises: [ValueError, Exception], tags: [RootEffect], forbids: [].}
Sets horizontal alignment on selected cells.
proc alignVertical(table: var Table; selector: Selector;
                   alignment: VerticalAlignment) {.
    ...raises: [ValueError, Exception], tags: [RootEffect], forbids: [].}
Sets vertical alignment on selected cells.
proc clearShadow(table: var Table) {....raises: [], tags: [], forbids: [].}
Disables the right and bottom shadow.
proc colorBorders(table: var Table; style: TerminalStyle) {....raises: [],
    tags: [], forbids: [].}
Styles all grid, intersection, and outer-border glyphs.
proc highlight(table: var Table; selector: Selector; style: TerminalStyle) {.
    ...raises: [ValueError, Exception], tags: [RootEffect], forbids: [].}
Cascades style onto selected cells.
proc pad(table: var Table; selector: Selector; padding: CellPadding) {.
    ...raises: [ValueError, Exception], tags: [RootEffect], forbids: [].}
Sets padding on selected cells.
proc setShadow(table: var Table; shadow: Shadow) {....raises: [], tags: [],
    forbids: [].}
Enables or replaces the table shadow.