figurine icon indicating copy to clipboard operation
figurine copied to clipboard

center/width options

Open alembiq opened this issue 10 months ago • 1 comments

Hello, Would it be possible to add options for centring the output on a target width? In the past, I was using figlet for showing me the hostname after login. figurine has much more excellent outputs, but I'm missing the option to have it centred in the terminal

Thank you

alembiq avatar Apr 09 '24 19:04 alembiq

Hi, I am using this to render the text and I don't think it supports either. Unfortunately calculating the width is not possible before the render is finished, unless adding a buffer layer before printing to the final writer.

If you have any recommendations I am happy to discuss this to come up with an action plan.

Cheers!

arsham avatar Apr 21 '24 07:04 arsham