From f04fcfad99ffbcc54b20e41c7e19534940a69507 Mon Sep 17 00:00:00 2001 From: Rob Hoelz Date: Tue, 19 Feb 2013 11:01:05 +0100 Subject: Document isatty --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index ba4b8e1..dea78bc 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,10 @@ Clear the terminal's contents. Clear from the current cursor position to the end of the current line. +### `term.isatty(file)` + +Returns `true` if `file` is a TTY; `false` otherwise. + `term.colors` Values ------------------ -- cgit v1.2.3-55-g6feb