motd escape codes

Andrey Petrov 2016-08-19 11:12:25 -04:00
parent da2e299696
commit 6e3406f665

6
FAQ.md

@ -104,4 +104,10 @@ $ curl https://github.com/shazow.keys >> whitelist_keys
$ ssh-chat --whitelist=$PWD/whitelist_keys ...
```
## How do I add color escape codes to my motd file?
Use an editor that supports ANSI escape codes. For example:
```bash
$ printf "\033[91mHello\033[0m world.\n" > motd.txt
```