term.border.sgr

term.border

sgr(mask, colour) -> ansi

Build the SGR that sets the pen's border

colour takes what term.color takes: a name, a palette index or {r, g, b}. No colour, "reset" or an unknown name leaves 56 out, so the border draws in the cell's ink. A mask of 0 gives 54, which clears the edges.