tat3r/tdfiglet ? reverse-engineered prompt
Reverse engineered prompt
Build me a small command line tool in C that works like figlet, but for TheDraw TDF ANSI fonts.
I want to be able to pass in a font file and some text, then print big stylized output in the terminal. It should support left, right, or center alignment, a screen width setting, ANSI or mirc color output, and either unicode or ASCII encoding. It should also let me print font details, pick a random font, and show a simple help message.
Please make it installable with a Makefile, and include the bundled fonts so it works right away. If you need to check the current font format details or terminal escape handling, look up the relevant docs online. Also make sure the program can handle the common use case of quickly spamming text in IRC without extra setup.
Are you gonna build this?
make sure you review the code using coderabbit