Skip to main content

Module cli_boxes

Module cli_boxes 

Source
Expand description

Vendored cli-boxes character table.

Source: cli-boxes@4.0.1 (node_modules/cli-boxes/boxes.json in the ink@7 fork). Regenerate by: cat node_modules/cli-boxes/boxes.json and transcribing the eight fields (topLeft/top/topRight/right/bottomRight/bottom/bottomLeft/left) for each named style into the constants below.

Only the styles that dom::BorderStyle::Named can produce are included here. Custom box-drawing characters are handled by BoxChars::from_custom.

Structs§

BoxChars
All eight box-drawing characters for one border style.
CustomChars
Owned strings for a BorderStyle::Custom box — input to BoxChars::from_custom.

Functions§

named
Resolve a named style string to BoxChars.