diff options
| -rw-r--r-- | CHANGES | 1 | ||||
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | term/colors.lua | 1 |
3 files changed, 3 insertions, 0 deletions
| @@ -2,6 +2,7 @@ | |||
| 2 | - Add cursor functions. | 2 | - Add cursor functions. |
| 3 | - Add clear functions. | 3 | - Add clear functions. |
| 4 | - Deprecate term.isatty. Use luaposix instead. | 4 | - Deprecate term.isatty. Use luaposix instead. |
| 5 | - Add colors.default as a synonym for colors.reset. | ||
| 5 | 6 | ||
| 6 | 0.01 2012-06-25 23:30:00 | 7 | 0.01 2012-06-25 23:30:00 |
| 7 | - Initial release. Includes colors and isatty. | 8 | - Initial release. Includes colors and isatty. |
| @@ -65,6 +65,7 @@ The following values are available in `term.colors`: | |||
| 65 | 65 | ||
| 66 | * reset | 66 | * reset |
| 67 | * clear (a synonym for reset) | 67 | * clear (a synonym for reset) |
| 68 | * default (a synonym for reset) | ||
| 68 | * bright | 69 | * bright |
| 69 | * dim | 70 | * dim |
| 70 | * underscore | 71 | * underscore |
diff --git a/term/colors.lua b/term/colors.lua index 4ab9140..32cbb54 100644 --- a/term/colors.lua +++ b/term/colors.lua | |||
| @@ -49,6 +49,7 @@ local colorvalues = { | |||
| 49 | -- attributes | 49 | -- attributes |
| 50 | reset = 0, | 50 | reset = 0, |
| 51 | clear = 0, | 51 | clear = 0, |
| 52 | default = 0, | ||
| 52 | bright = 1, | 53 | bright = 1, |
| 53 | dim = 2, | 54 | dim = 2, |
| 54 | underscore = 4, | 55 | underscore = 4, |
