From c2f6405a0f4309a076d45a83d2558fe803a8e540 Mon Sep 17 00:00:00 2001 From: isaacs Date: Mon, 27 Feb 2012 11:09:35 -0800 Subject: [PATCH] doc refactor: tty --- doc/api/tty.markdown | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/api/tty.markdown b/doc/api/tty.markdown index ed590e8..804db3b 100644 --- a/doc/api/tty.markdown +++ b/doc/api/tty.markdown @@ -1,4 +1,4 @@ -## TTY +# TTY Use `require('tty')` to access this module. @@ -16,23 +16,23 @@ Example: -### tty.isatty(fd) +## tty.isatty(fd) Returns `true` or `false` depending on if the `fd` is associated with a terminal. -### tty.setRawMode(mode) +## tty.setRawMode(mode) `mode` should be `true` or `false`. This sets the properties of the current process's stdin fd to act either as a raw device or default. -### tty.setWindowSize(fd, row, col) +## tty.setWindowSize(fd, row, col) This function was removed in v0.6.0. -### tty.getWindowSize(fd) +## tty.getWindowSize(fd) This function was removed in v0.6.0. Use `process.stdout.getWindowSize()` instead. -- 2.7.4