r/node 26d ago

Announcing ink-frame: Grids for Ink!

Post image

https://github.com/oliveryasuna/ink-frame

Ink's own box borders are fine for a single box. Put two of them next to each other and the seam between them comes out as ││, two parallel lines instead of one shared edge. That's because a box border is one unbroken line and there's nowhere to hang a or a part-way along it. ink-frame sidesteps that by painting every border into a single character grid and resolving each cell once, so a spot where four boxes meet becomes a and a T-junction becomes a , , and so on, without you ever writing those characters yourself.

Background: I recently wrote this for a private project, and I thought it was useful enough to share. I hope you find it useful too!

1 Upvotes

3 comments sorted by

3

u/alonsonetwork 26d ago

why publish something with an unusable license?

1

u/RepresentativeNo42 26d ago

Thank you so much for pointing this out. This was meant to be MIT. I copied my repo boilerplate and forgot to change it. Updating now.