pen_at(
line,pos) ->ansi
Find the border SGR in force at a byte offset of a row
Reads the SGRs that begin before byte pos, as the terminal would. A
caller that splices its own SGR into a bordered row, one that ends in a
reset, writes the answer after it. Returns "" when no edge is in force.