mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-05-25 11:17:43 +03:00
motd escape codes
parent
da2e299696
commit
6e3406f665
6
FAQ.md
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
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user