Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Fixes #2160. Fix tty.getWindowSize docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Nov 22, 2011
1 parent 7defbd2 commit 6035651
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/tty.markdown
Expand Up @@ -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.


0 comments on commit 6035651

Please sign in to comment.