chjj / blessed

A high-level terminal interface library for node.js.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Margins?

echo-bravo-yahoo opened this issue · comments

I'm trying to make a "card" list of sorts and I'd really like to be able to simultaneously use border, padding, and margins within a layout, but margins don't appear to exist, so I've tried several ways of flubbing it, all of which seem quite difficult. Right now, I have a decent workaround involving a custom component (that renders these things itself using fillRegion and pads the text appropriately so it's still visible) but the hover on it doesn't work because hover highlighting doesn't hover padding. What's a good way to approach this?