diff options
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -17,9 +17,9 @@ Usage | |||
| 17 | 17 | ||
| 18 | print(term.isatty(io.stdout)) -- true if standard output goes to the terminal | 18 | print(term.isatty(io.stdout)) -- true if standard output goes to the terminal |
| 19 | 19 | ||
| 20 | print(color.red 'hello') | 20 | print(colors.red 'hello') |
| 21 | print(color.red .. 'hello' .. color.reset) | 21 | print(colors.red .. 'hello' .. colors.reset) |
| 22 | print(color.red, 'hello', color.reset) | 22 | print(colors.red, 'hello', colors.reset) |
| 23 | 23 | ||
| 24 | -- The following functions take an optional IO handle (like io.stdout); | 24 | -- The following functions take an optional IO handle (like io.stdout); |
| 25 | -- io.stdout is the default if you don't specify one | 25 | -- io.stdout is the default if you don't specify one |
