Add example to readme

This commit is contained in:
0xf8 2023-06-03 15:54:34 -04:00
parent ce1f74886d
commit 78f1ad7362
Signed by: 0xf8
GPG Key ID: 446580D758689584
1 changed files with 6 additions and 2 deletions

View File

@ -13,5 +13,9 @@ OR
`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)
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`