aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Hoelz <rob@hoelz.ro>2013-02-10 19:39:15 +0100
committerRob Hoelz <rob@hoelz.ro>2013-02-10 19:39:15 +0100
commit90b99619c2eff28a62a336ab21e948100465ef81 (patch)
tree76a915a349415ec5d1470cb0ff1302cf754d71fe
parent68a8f1005aabc69ec5bc979fa7d7873c3c2a6a1b (diff)
downloadlua-term-90b99619c2eff28a62a336ab21e948100465ef81.tar.gz
lua-term-90b99619c2eff28a62a336ab21e948100465ef81.tar.bz2
lua-term-90b99619c2eff28a62a336ab21e948100465ef81.zip
Fix example in README
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 6a60906..9dbff58 100644
--- a/README.md
+++ b/README.md
@@ -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