diff options
author | Rob Hoelz <rob@hoelz.ro> | 2013-02-19 11:01:05 +0100 |
---|---|---|
committer | Rob Hoelz <rob@hoelz.ro> | 2013-02-19 11:01:05 +0100 |
commit | f04fcfad99ffbcc54b20e41c7e19534940a69507 (patch) | |
tree | 4cb144ad46de21d1a3ee13b18b26dddca5323231 | |
parent | 9dd7d88a9c3988d785be86c16544aea3481c864e (diff) | |
download | lua-term-f04fcfad99ffbcc54b20e41c7e19534940a69507.tar.gz lua-term-f04fcfad99ffbcc54b20e41c7e19534940a69507.tar.bz2 lua-term-f04fcfad99ffbcc54b20e41c7e19534940a69507.zip |
Document isatty
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -49,6 +49,10 @@ Clear the terminal's contents. | |||
49 | 49 | ||
50 | Clear from the current cursor position to the end of the current line. | 50 | Clear from the current cursor position to the end of the current line. |
51 | 51 | ||
52 | ### `term.isatty(file)` | ||
53 | |||
54 | Returns `true` if `file` is a TTY; `false` otherwise. | ||
55 | |||
52 | `term.colors` Values | 56 | `term.colors` Values |
53 | ------------------ | 57 | ------------------ |
54 | 58 | ||