lolcat remake in C
Go to file
2023-06-03 15:54:34 -04:00
.gitignore Actually add .gitignore. Update README.md 2023-02-25 12:27:55 -05:00
compile_commands.json Add compile_commands.json 2023-02-25 12:39:22 -05:00
LICENSE Initial commit 2023-02-25 12:27:52 -05:00
Makefile Add CFLAGS to makefile 2023-02-25 13:35:52 -05:00
rbtext.c Add runtime configuration and a workaround for wrapped text 2023-02-25 13:58:54 -05:00
README.md Add example to readme 2023-06-03 15:54:34 -04:00

rbtext

Pure-C alternative to something like lolcat on linux.

build

gcc -o rbtext rbtext.c OR make

usage

./rbtext <text> [text...]

install

install -m755 rbtext /usr/bin

runtime configuration

This is done by setting environment variables.

  • RBTEXT_FULLSCREEN (default: Enabled) - Clear screen every print (useful for text that will wrap)

example

Runs rbtext without clearing the screen everytime RBTEXT_FULLSCREEN=-1 ./rbtext hello world