# fedbox

> Box, frame, and panel drawing for shell scripts driving fed field editors.
> Non-interactive: emits ANSI to stdout, the frame companion to `fedsay`'s text.
> More information: `python3 fedbox.py --help`.

- Draw a single-line frame: row col rows cols (0-indexed corner, size incl. borders):

`python3 fedbox.py {{2}} {{4}} {{5}} {{30}}`

- Pick a border style (single, double, ascii, solid, half-in, half-out):

`python3 fedbox.py 0 0 6 24 --style {{double}}`

- Use a custom style: 3 chars = horizontal + vertical + corner:

`python3 fedbox.py 0 0 6 24 --style {{'=:o'}}`

- Fill the interior to make a panel (default space; give a CHAR for texture):

`python3 fedbox.py 0 0 8 40 --fill {{.}}`

- Color the whole box, then override one element:

`python3 fedbox.py 0 0 8 40 --color {{white,blue}} --title "X" --title-color {{bright-yellow,blue}}`

- Add titles (top) and status (bottom); text is verbatim, add your own brackets:

`python3 fedbox.py 0 0 8 50 --left-title "{{customer.def}}" --status "{{Tab to advance}}"`

- Draw without disturbing the cursor (`@` = current row/col):

`python3 fedbox.py {{@}} {{@}} {{4}} {{20}} --keep`
