From 6035651fad8b1b709d5340833e368e798f377454 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 22 Nov 2011 10:22:53 -0800 Subject: [PATCH] Fixes #2160. Fix tty.getWindowSize docs --- doc/api/tty.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/tty.markdown b/doc/api/tty.markdown index d17a39d7496..ed590e8b704 100644 --- a/doc/api/tty.markdown +++ b/doc/api/tty.markdown @@ -30,11 +30,11 @@ process's stdin fd to act either as a raw device or default. ### tty.setWindowSize(fd, row, col) -`ioctl`s the window size settings to the file descriptor. - +This function was removed in v0.6.0. ### tty.getWindowSize(fd) -Returns `[row, col]` for the TTY associated with the file descriptor. +This function was removed in v0.6.0. Use `process.stdout.getWindowSize()` +instead.